Henri Gourvest wrote:

sizeof(integer) return 2.
It is a bit strange for me :-/
Perhaps there is some tips I have to know before porting applications to 64 bits.

Sizeof(integer) depends only on the language mode (standard,tp=2; objfpc,delphi=4) this makes usually porting easier. If you want an integer with the same size as a pointer use ptrint.


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to