소스 검색

* Fixed warnings.

git-svn-id: trunk@9095 -
yury 18 년 전
부모
커밋
6a36ac786a
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      rtl/inc/heaptrc.pp
  2. 1 1
      rtl/objpas/fgl.pp

+ 1 - 1
rtl/inc/heaptrc.pp

@@ -23,7 +23,7 @@ interface
 
 {$checkpointer off}
 {$goto on}
-{$typedpointer on}
+{$TYPEDADDRESS on}
 
 {$if defined(win32) or defined(wince)}
   {$define windows}

+ 1 - 1
rtl/objpas/fgl.pp

@@ -689,7 +689,7 @@ begin
   if I >= 0 then
     Result := InternalItems[I]+FKeySize
   else
-    Error(SMapKeyError, PtrInt(AKey));
+    Error(SMapKeyError, PtrUInt(AKey));
 end;
 
 procedure TFPSMap.InitOnPtrCompare;