瀏覽代碼

* small fix for previous commit.

git-svn-id: trunk@5252 -
yury 19 年之前
父節點
當前提交
f89a0ac4c1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/ogcoff.pas

+ 2 - 1
compiler/ogcoff.pas

@@ -2032,7 +2032,7 @@ const pemagic : array[0..3] of byte = (
 
     procedure tcoffexeoutput.CalcPos_Symbols;
       var
-        i : integer;
+        i : longint;
         sym : TExeSymbol;
       begin
         nsyms:=0;
@@ -2047,6 +2047,7 @@ const pemagic : array[0..3] of byte = (
                  ExeSymbolList.Delete(i);
              end;
            ExeSymbolList.Pack;
+           { Calculating symbols position and size }
            nsyms:=ExeSymbolList.Count;
            sympos:=CurrDataPos;
            inc(CurrDataPos,sizeof(coffsymbol)*nsyms);