* use .Create_sizeuint and sizeuinttype when writing tinterfacetable.EntryCount

git-svn-id: trunk@34635 -
This commit is contained in:
nickysn 2016-10-06 14:23:37 +00:00
parent 26ffffa683
commit 7fceb8aa1f

View File

@ -833,7 +833,7 @@ implementation
datatcb.begin_anonymous_record('',default_settings.packrecords,1,
targetinfos[target_info.system]^.alignment.recordalignmin,
targetinfos[target_info.system]^.alignment.maxCrecordalign);
datatcb.emit_tai(Tai_const.Create_pint(_class.ImplementedInterfaces.count),search_system_type('SIZEUINT').typedef);
datatcb.emit_tai(Tai_const.Create_sizeint(_class.ImplementedInterfaces.count),sizeuinttype);
interfaceentrydef:=search_system_type('TINTERFACEENTRY').typedef;
interfaceentrytypedef:=search_system_type('TINTERFACEENTRYTYPE').typedef;
if _class.ImplementedInterfaces.count>0 then