2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@34715 -

nickysn 8 жил өмнө
parent
commit
ac186eb85d

+ 1 - 1
compiler/ncgvmt.pas

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