소스 검색

* fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321

git-svn-id: trunk@48095 -
florian 4 년 전
부모
커밋
6d75992674
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/ncgcon.pas

+ 1 - 1
compiler/ncgcon.pas

@@ -206,7 +206,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;