Sfoglia il codice sorgente

* Fixed warning.

git-svn-id: trunk@10724 -
yury 17 anni fa
parent
commit
b64519162d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      rtl/inc/exeinfo.pp

+ 1 - 1
rtl/inc/exeinfo.pp

@@ -325,7 +325,7 @@ begin
        end;
      if asecname=secname then
        begin
-         secofs:=sechdr.datapos + E.ImgOffset;
+         secofs:=cardinal(sechdr.datapos) + E.ImgOffset;
          seclen:=sechdr.datalen;
          FindSectionCoff:=true;
          exit;