浏览代码

* 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 年之前
父节点
当前提交
00c777e51a
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;