[fpc-pascal] Why does not assignment from int64 to integer trigger warning?

Jichao Yang jcyangzh at gmail.com
Thu Jan 14 17:30:19 CET 2010


int64Val := 2147483648; { 2^32 }
intVal := int64Val; { does not trigger any warnings }

Now the intVal should be 0 which is not what I wanted.

my platform: v2.4.0[2009/12/18] for i386 under windows.

regards.
jcyang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100115/c0c5d84a/attachment.html>


More information about the fpc-pascal mailing list