mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 14:09:19 +02:00
* use sizeuinttype instead of ptruinttype for the array range type in the
structure, created by TVMTWriter.gettabledef git-svn-id: trunk@34715 -
This commit is contained in:
parent
d4e573c1e3
commit
ac186eb85d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user