Browse Source

* Fixed warnings.

git-svn-id: trunk@9095 -
yury 18 years ago
parent
commit
6a36ac786a
2 changed files with 2 additions and 2 deletions
  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;