[Lazarus] Illegal typecast in Linux only

Richard Mace richard.mace at gmail.com
Thu May 1 16:04:56 CEST 2014


Hi,
I am getting the following error: Illegal type conversion: "TObject" to
"LongInt" on the following code:

TFSGatewayType(Integer(cbo11TrunkType.Items.Objects[cbo11TrunkType.ItemIndex]))

Is this because I am compiling under Linux 64bit or just Linux or just
64bit? Under Windows 32bit it compiles fine?

Thanks

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140501/232a1407/attachment-0002.html>


More information about the Lazarus mailing list