浏览代码

* the default value of tpointerdef.pointer_subtraction_result_type changed to
ptrsinttype

git-svn-id: trunk@28220 -

nickysn 11 年之前
父节点
当前提交
9b3d41d9c7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

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