[fpc-devel] Cardinal = LongWord on 64bit systems?

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Oct 15 10:40:25 CEST 2009


Hi,

Based on the FPC documentation for integer types, is says that a
Cardinal type can be either word, longword or qword (sizes being 2, 4,
8 bytes) based on the platform used.

So why on my 64bit system using FPC 2.3.1, Cardinal maps to a
LongWord. Shouldn't that be QWord for 64bit systems?  Just like
PtrUint maps to QWord on 64bit platforms, but to LongWord for 32bit
platforms


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list