Avoid overflow errors on z80 CPU by changing local variable type from aint to tcgint

git-svn-id: trunk@45816 -
This commit is contained in:
pierre 2020-07-21 05:23:36 +00:00
parent 667a010357
commit 57b8f28574
2 changed files with 2 additions and 2 deletions

View File

@ -692,7 +692,7 @@ implementation
href : treference;
releaseright : boolean;
alignmentrequirement,
len : aint;
len : tcgint;
r : tregister;
{$if not defined(cpu64bitalu) and not defined(cpuhighleveltarget)}
r64 : tregister64;

View File

@ -1175,7 +1175,7 @@ implementation
newstat : tstatementnode;
restemp : ttempcreatenode;
pchtemp : pchar;
arrsize : aint;
arrsize : tcgint;
chartype : string[8];
begin
result := nil;