zlib: Use correct (un)signedness of char in prototypes and functions.
Also ensure we are using the same constness qualifiers.
This commit is contained in:
committed by
Oliver Schmidt
parent
e0ac9d5d8e
commit
93b6efcb2f
@@ -48,7 +48,8 @@
|
||||
#define Z_NULL 0
|
||||
|
||||
|
||||
unsigned __fastcall__ inflatemem (char* dest, const char* source);
|
||||
unsigned __fastcall__ inflatemem (unsigned char* dest,
|
||||
const unsigned char* source);
|
||||
/*
|
||||
Decompresses the source buffer into the destination buffer.
|
||||
Returns the size of the uncompressed data (number of bytes written starting
|
||||
@@ -83,8 +84,8 @@ unsigned __fastcall__ inflatemem (char* dest, const char* source);
|
||||
*/
|
||||
|
||||
|
||||
int __fastcall__ uncompress (char* dest, unsigned* destLen,
|
||||
const char* source, unsigned sourceLen);
|
||||
int __fastcall__ uncompress (unsigned char* dest, unsigned* destLen,
|
||||
const unsigned char* source, unsigned sourceLen);
|
||||
/*
|
||||
Original zlib description:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user