Browse Source

* 64 bit fixes

git-svn-id: trunk@4989 -
tom_at_work 19 years ago
parent
commit
f291e46227
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/webtbs/tw5641.pp

+ 3 - 3
tests/webtbs/tw5641.pp

@@ -12,11 +12,11 @@ begin
   Assert(obj^.init, 'case 1a ((addr and $FF) <> 0)');
   Assert(obj^.init, 'case 1a ((addr and $FF) <> 0)');
   Assert(obj^.init, 'case 1b ((addr and $FF) <> 0)');
   Assert(obj^.init, 'case 1b ((addr and $FF) <> 0)');
   Assert(obj^.init, 'case 1c ((addr and $FF) <> 0)');
   Assert(obj^.init, 'case 1c ((addr and $FF) <> 0)');
-  obj:=Pointer((Cardinal(mempool) or $FF) + 1);
+  obj:=Pointer((SizeUint(mempool) or $FF) + 1);
   Assert(obj^.init, 'case 2 (addr=$xxxxxx00)');
   Assert(obj^.init, 'case 2 (addr=$xxxxxx00)');
-  obj:=Pointer((Cardinal(mempool) or $FFFF) + 1);
+  obj:=Pointer((SizeUint(mempool) or $FFFF) + 1);
   Assert(obj^.init, 'case 3 (addr=$xxxx0000)');
   Assert(obj^.init, 'case 3 (addr=$xxxx0000)');
-  obj:=Pointer((Cardinal(mempool) or $FFFFFF) + 1);
+  obj:=Pointer((SizeUint(mempool) or $FFFFFF) + 1);
   Assert(obj^.init, 'case 4 (addr=$xx000000)');
   Assert(obj^.init, 'case 4 (addr=$xx000000)');
   FreeMem(mempool);
   FreeMem(mempool);
   writeln('ok');
   writeln('ok');