mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 13:02:01 +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
|
begin
|
||||||
{ an integer const. behaves as a memory reference }
|
{ an integer const. behaves as a memory reference }
|
||||||
location_reset(location,LOC_CONSTANT,OS_ADDR);
|
location_reset(location,LOC_CONSTANT,OS_ADDR);
|
||||||
location.value:=aint(value);
|
location.value:=PInt(value);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user