[fpc-devel] fpc-svn177-units-Mysql broken

Peter Vreman peter at freepascal.org
Fri Jun 3 08:39:03 CEST 2005


At 08:09 3-6-2005, you wrote:
>there is an inconsistency:
>
>   TDateTimeRec = record
>     case TFieldType of
>       ftDate: (Date: Longint);
>       ftTime: (Time: Longint);
>       ftDateTime: (DateTime: TDateTimeAlias);
>   end;
>
>    TTimeStamp = record
>       Time: integer;   { Number of milliseconds since midnight }
>       Date: integer;   { One plus number of days since 1/1/0001 }
>    end ;
>
>TTimeStamp,Date is integer, and TDateTimeRec.ftDate is longint.
>
>on AMD 64 integer<>longint?

integer is 32 bit.


Peter





More information about the fpc-devel mailing list