mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:59:28 +02:00
* Fixed signature of zliballocmem
git-svn-id: trunk@17210 -
This commit is contained in:
parent
d3fe020a55
commit
d4b071ed9a
@ -1212,7 +1212,7 @@ function zError(err: cint): pchar; cdecl; external libz name 'zError';
|
||||
function inflateSyncPoint(var z: z_stream): cint; cdecl; external libz name 'inflateSyncPoint';
|
||||
function get_crc_table: pointer; cdecl; external libz name 'get_crc_table';
|
||||
|
||||
function zlibAllocMem(AppData: Pointer; Items, Size: Integer): Pointer; cdecl;
|
||||
function zlibAllocMem(AppData: Pointer; Items, Size: UInt): Pointer; cdecl;
|
||||
procedure zlibFreeMem(AppData, Block: Pointer); cdecl;
|
||||
|
||||
implementation
|
||||
@ -1242,7 +1242,7 @@ begin
|
||||
Result := inflateBackInit_(strm, windowBits, window, ZLIB_VERSION, sizeof(z_stream));
|
||||
end;
|
||||
|
||||
function zlibAllocMem(AppData: Pointer; Items, Size: Integer): Pointer; cdecl;
|
||||
function zlibAllocMem(AppData: Pointer; Items, Size: UInt): Pointer; cdecl;
|
||||
|
||||
begin
|
||||
Result := AllocMem(Items * Size);
|
||||
|
Loading…
Reference in New Issue
Block a user