소스 검색

* 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);