mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 20:49:19 +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 inflateSyncPoint(var z: z_stream): cint; cdecl; external libz name 'inflateSyncPoint';
|
||||||
function get_crc_table: pointer; cdecl; external libz name 'get_crc_table';
|
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;
|
procedure zlibFreeMem(AppData, Block: Pointer); cdecl;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -1242,7 +1242,7 @@ begin
|
|||||||
Result := inflateBackInit_(strm, windowBits, window, ZLIB_VERSION, sizeof(z_stream));
|
Result := inflateBackInit_(strm, windowBits, window, ZLIB_VERSION, sizeof(z_stream));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function zlibAllocMem(AppData: Pointer; Items, Size: Integer): Pointer; cdecl;
|
function zlibAllocMem(AppData: Pointer; Items, Size: UInt): Pointer; cdecl;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Result := AllocMem(Items * Size);
|
Result := AllocMem(Items * Size);
|
||||||
|
Loading…
Reference in New Issue
Block a user