mirror of
https://github.com/cc65/cc65.git
synced 2026-04-23 23:17:45 +00:00
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:
+4
-2
@@ -114,7 +114,8 @@ int __fastcall__ uncompress (unsigned char* dest, unsigned* destLen,
|
||||
*/
|
||||
|
||||
|
||||
unsigned long __fastcall__ adler32 (unsigned long adler, const char* buf,
|
||||
unsigned long __fastcall__ adler32 (unsigned long adler,
|
||||
const unsigned char* buf,
|
||||
unsigned len);
|
||||
|
||||
/*
|
||||
@@ -140,7 +141,8 @@ unsigned long __fastcall__ adler32 (unsigned long adler, const char* buf,
|
||||
*/
|
||||
|
||||
|
||||
unsigned long __fastcall__ crc32 (unsigned long crc, const char* buf,
|
||||
unsigned long __fastcall__ crc32 (unsigned long crc,
|
||||
const unsigned char* buf,
|
||||
unsigned len);
|
||||
/*
|
||||
Original zlib description:
|
||||
|
||||
Reference in New Issue
Block a user