Browse Source

* add padding byte fields all as unsigned, as that is also how we
generate them in aasmcnst

git-svn-id: trunk@32717 -

Jonas Maebe 9 năm trước cách đây
mục cha
commit
00c777e51a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      compiler/symtable.pas

+ 2 - 2
compiler/symtable.pas

@@ -1860,7 +1860,7 @@ implementation
               { curoffset: address right after the previous field }
               while (fieldoffset>curroffset) do
                 begin
-                  symdeflist.add(tllvmshadowsymtableentry.create(s8inttype,curroffset));
+                  symdeflist.add(tllvmshadowsymtableentry.create(u8inttype,curroffset));
                   inc(curroffset);
                 end;
               symdeflist.add(tllvmshadowsymtableentry.create(vardef,fieldoffset));
@@ -1887,7 +1887,7 @@ implementation
               { add padding fields }
               while (finalsize>curroffset) do
                 begin
-                  symdeflist.add(tllvmshadowsymtableentry.create(s8inttype,curroffset));
+                  symdeflist.add(tllvmshadowsymtableentry.create(u8inttype,curroffset));
                   inc(curroffset);
                 end;
             end;