mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 14:12:37 +02:00
PascalScript: fix for 32 bit object.create
git-svn-id: trunk@56161 -
This commit is contained in:
parent
c3ae0f3967
commit
f7a5ad2332
@ -10247,7 +10247,11 @@ begin
|
||||
CurrStack := Cardinal(Stack.Count) - Cardinal(length(s)) -1;
|
||||
if s[1] = #0 then inc(CurrStack);
|
||||
{$IFnDEF PS_NOINT64}
|
||||
{$IFDEF cpu32}
|
||||
IntVal := CreateHeapVariant(Caller.FindType2(btU32));
|
||||
{$ELSE}
|
||||
IntVal := CreateHeapVariant(Caller.FindType2(btS64));
|
||||
{$ENDIF}
|
||||
{$ELSE}
|
||||
IntVal := CreateHeapVariant(Caller.FindType2(btU32));
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user