diff --git a/compiler/ppu.pas b/compiler/ppu.pas index 31011be3e8..8ff310d3c4 100644 --- a/compiler/ppu.pas +++ b/compiler/ppu.pas @@ -43,7 +43,7 @@ type {$endif Test_Double_checksum} const - CurrentPPUVersion = 203; + CurrentPPUVersion = 204; { unit flags } uf_init = $000001; { unit has initialization section } diff --git a/compiler/symsym.pas b/compiler/symsym.pas index b21a5f9de9..5e9aff405d 100644 --- a/compiler/symsym.pas +++ b/compiler/symsym.pas @@ -1753,7 +1753,7 @@ implementation constructor tfieldvarsym.ppuload(ppufile:tcompilerppufile); begin inherited ppuload(fieldvarsym,ppufile); - fieldoffset:=ppufile.getaint; + fieldoffset:=ppufile.getasizeint; if (vo_has_mangledname in varoptions) then externalname:=ppufile.getpshortstring else @@ -1765,7 +1765,7 @@ implementation procedure tfieldvarsym.ppuwrite(ppufile:tcompilerppufile); begin inherited ppuwrite(ppufile); - ppufile.putaint(fieldoffset); + ppufile.putasizeint(fieldoffset); if (vo_has_mangledname in varoptions) then ppufile.putstring(externalname^); writeentry(ppufile,ibfieldvarsym); diff --git a/compiler/utils/ppuutils/ppudump.pp b/compiler/utils/ppuutils/ppudump.pp index 882e0f3b6a..c804dfaee2 100644 --- a/compiler/utils/ppuutils/ppudump.pp +++ b/compiler/utils/ppuutils/ppudump.pp @@ -2788,7 +2788,7 @@ begin begin def:=TPpuFieldDef.Create(ParentDef); readabstractvarsym('Field Variable symbol ',varoptions,TPpuVarDef(def)); - writeln([space,' Address : ',getaint]); + writeln([space,' Address : ',getasizeint]); if vo_has_mangledname in varoptions then writeln([space,' Mangled name : ',getstring]); end;