Explorar o código

* return ptrsinttype instead of sinttype in pointerdef.pointer_arithmetic_int_type

git-svn-id: trunk@28259 -
nickysn %!s(int64=11) %!d(string=hai) anos
pai
achega
86726a5dc8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

@@ -3178,7 +3178,7 @@ implementation
 
     function tpointerdef.pointer_arithmetic_int_type:tdef;
       begin
-        result:=sinttype;
+        result:=ptrsinttype;
       end;