mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +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:
parent
cb8fbf4772
commit
31c1172a3a
@ -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:
|
||||
|
@ -2,7 +2,8 @@
|
||||
; 2001-11-18, Piotr Fusik
|
||||
; 2018-05-20, Christian Kruger
|
||||
;
|
||||
; unsigned long __fastcall__ adler32 (unsigned long adler, unsigned char* buf,
|
||||
; unsigned long __fastcall__ adler32 (unsigned long adler,
|
||||
; const unsigned char* buf,
|
||||
; unsigned len);
|
||||
;
|
||||
|
||||
|
@ -2,7 +2,8 @@
|
||||
; 2001-11-14, Piotr Fusik
|
||||
; 2018-05-20, Christian Kruger
|
||||
;
|
||||
; unsigned long __fastcall__ crc32 (unsigned long crc, unsigned char* buf,
|
||||
; unsigned long __fastcall__ crc32 (unsigned long crc,
|
||||
; const unsigned char* buf,
|
||||
; unsigned len);
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user