mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 21:07:58 +02:00
* fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321
git-svn-id: trunk@48095 -
(cherry picked from commit 6d75992674
)
This commit is contained in:
parent
99588969b9
commit
0049abce42
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user