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 years ago
parent
commit
00c777e51a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/symtable.pas

+ 2 - 2
compiler/symtable.pas

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