瀏覽代碼

* remove ptruint typecast that introduces a int64 calculation

git-svn-id: trunk@6599 -
peter 18 年之前
父節點
當前提交
b1fde7e52e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/webtbs/tw3952.pp

+ 2 - 2
tests/webtbs/tw3952.pp

@@ -9,6 +9,6 @@ var
 begin
   X := 0;
   P := nil;
-  P := Pointer(PtrUInt(P) + X - 12);
-  P := Pointer(PtrUInt(P) + X + 12);
+  P := Pointer(P + X - 12);
+  P := Pointer(P + X + 12);
 end.