mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 20:49:49 +02:00
* fixed wrong typecast in TNewExeImportedNameTable.GetSize
git-svn-id: trunk@42617 -
This commit is contained in:
parent
8dea445ffe
commit
7038d18d50
@ -3829,7 +3829,7 @@ cleanup:
|
||||
Result:=1;
|
||||
{ each entry is 1 byte, plus the length of the name }
|
||||
for i:=0 to Count-1 do
|
||||
Inc(Result,1+Length(TNewExeResidentNameTableEntry(Items[i]).Name));
|
||||
Inc(Result,1+Length(TNewExeImportedNameTableEntry(Items[i]).Name));
|
||||
end;
|
||||
|
||||
procedure TNewExeImportedNameTable.AddImportedName(const name: TSymStr);
|
||||
|
Loading…
Reference in New Issue
Block a user