Prechádzať zdrojové kódy

* fixed warning

git-svn-id: trunk@7906 -
florian 18 rokov pred
rodič
commit
219f4430ea
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      tests/webtbs/tw8465.pp

+ 1 - 1
tests/webtbs/tw8465.pp

@@ -17,6 +17,6 @@ var
 begin
 begin
   e := b;
   e := b;
   p := Pointer(e);
   p := Pointer(e);
-  if Integer(p)<>1 then
+  if PtrUInt(p)<>1 then
     halt(1); // produces "1" in Delphi
     halt(1); // produces "1" in Delphi
 end.
 end.