소스 검색

* fix for OS/2 - StackTop is a pointer now

git-svn-id: trunk@3177 -
Tomas Hajny 19 년 전
부모
커밋
ad14231358
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/inc/heaptrc.pp

+ 1 - 1
rtl/inc/heaptrc.pp

@@ -815,7 +815,7 @@ begin
 {$IFDEF OS2}
   { inside stack ? }
   if (PtrUInt (P) > PtrUInt (Get_Frame)) and
-     (PtrUInt (P) < StackTop) then
+     (PtrUInt (P) < PtrUInt (StackTop)) then
     goto _exit;
   { inside data or bss ? }
   if (PtrUInt (P) >= PtrUInt (@etext)) and (PtrUInt (P) < PtrUInt (@eend)) then