mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 05:09:19 +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;
|
Result:=1;
|
||||||
{ each entry is 1 byte, plus the length of the name }
|
{ each entry is 1 byte, plus the length of the name }
|
||||||
for i:=0 to Count-1 do
|
for i:=0 to Count-1 do
|
||||||
Inc(Result,1+Length(TNewExeResidentNameTableEntry(Items[i]).Name));
|
Inc(Result,1+Length(TNewExeImportedNameTableEntry(Items[i]).Name));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TNewExeImportedNameTable.AddImportedName(const name: TSymStr);
|
procedure TNewExeImportedNameTable.AddImportedName(const name: TSymStr);
|
||||||
|
Loading…
Reference in New Issue
Block a user