Fix issue with absolute offsets being sign extended from aint to asizeint.

git-svn-id: trunk@32576 -
This commit is contained in:
Jeppe Johansen 2015-12-03 21:43:39 +00:00
parent b5c9a20d3f
commit f21f9ab930

View File

@ -249,7 +249,7 @@ implementation
procedure tcgloadnode.generate_absaddr_access(vs: tabsolutevarsym);
begin
location.reference.offset:=aint(vs.addroffset);
location.reference.offset:=asizeint(vs.addroffset);
end;