[fpc-pascal] [fpc-1.9.6-0.x86_64] sizeof(integer)
F.Klaempfl at gmx.de
Tue Jan 11 22:50:52 CET 2005
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.
More information about the fpc-pascal