* always use the varrec size retrieved from the system unit when advancing to the next element

git-svn-id: trunk@25244 -
This commit is contained in:
florian 2013-08-11 20:13:57 +00:00
parent fe4cac96be
commit 0a22199738

View File

@ -1337,7 +1337,7 @@ implementation
dec(href.offset,sizeof(pint));
cg.a_load_const_ref(current_asmdata.CurrAsmList, OS_INT,vtype,href);
{ goto next array element }
advancearrayoffset(href,sizeof(pint)*2);
advancearrayoffset(href,elesize);
end
else
{ normal array constructor of the same type }