فهرست منبع

* 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.