瀏覽代碼

* use sizeuinttype instead of ptruinttype for the array range type in the
structure, created by TVMTWriter.gettabledef

git-svn-id: trunk@34715 -

nickysn 9 年之前
父節點
當前提交
ac186eb85d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/ncgvmt.pas

+ 1 - 1
compiler/ncgvmt.pas

@@ -886,7 +886,7 @@ implementation
         fields.add(countdef);
         if count>0 then
           begin
-            arrdef:=carraydef.create(0,count-1,ptruinttype);
+            arrdef:=carraydef.create(0,count-1,sizeuinttype);
             arrdef.elementdef:=elementdef;
             fields.add(arrdef);
           end