1
0
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:
acqn
2021-03-23 15:30:08 +08:00
committed by Oliver Schmidt
parent cb8fbf4772
commit 31c1172a3a
3 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -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: