Explorar o código

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

git-svn-id: trunk@34715 -

nickysn %!s(int64=8) %!d(string=hai) anos
pai
achega
ac186eb85d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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