diff --git a/compiler/ncgcon.pas b/compiler/ncgcon.pas index 9a85f664c4..9a17fc1893 100644 --- a/compiler/ncgcon.pas +++ b/compiler/ncgcon.pas @@ -204,7 +204,7 @@ implementation begin { an integer const. behaves as a memory reference } location_reset(location,LOC_CONSTANT,OS_ADDR); - location.value:=aint(value); + location.value:=PInt(value); end;