فهرست منبع

* 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