mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 10:00:31 +02:00
* fixed more 64 bit issues (by Vincents Snijders)
git-svn-id: trunk@1092 -
This commit is contained in:
parent
4e01edc8a1
commit
b1b0ffc1ec
@ -725,6 +725,10 @@ begin
|
||||
Signed := false;
|
||||
DataSize := 4;
|
||||
case TypeInfo^.Kind of
|
||||
{$ifdef cpu64}
|
||||
tkClass:
|
||||
DataSize:=8;
|
||||
{$endif cpu64}
|
||||
tkChar, tkBool:
|
||||
DataSize:=1;
|
||||
tkWChar:
|
||||
@ -811,7 +815,12 @@ var
|
||||
DataSize: Integer;
|
||||
AMethod : TMethod;
|
||||
begin
|
||||
if PropInfo^.PropType^.Kind in [tkInt64,tkQword] then
|
||||
if PropInfo^.PropType^.Kind in [tkInt64,tkQword
|
||||
{ why do we have to handle classes here, see also below? (FK) }
|
||||
{$ifdef cpu64}
|
||||
,tkClass
|
||||
{$endif cpu64}
|
||||
] then
|
||||
DataSize := 8
|
||||
else
|
||||
DataSize := 4;
|
||||
|
Loading…
Reference in New Issue
Block a user