mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +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);
|
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);
|
unsigned len);
|
||||||
/*
|
/*
|
||||||
Original zlib description:
|
Original zlib description:
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
; 2001-11-18, Piotr Fusik
|
; 2001-11-18, Piotr Fusik
|
||||||
; 2018-05-20, Christian Kruger
|
; 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);
|
; unsigned len);
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
; 2001-11-14, Piotr Fusik
|
; 2001-11-14, Piotr Fusik
|
||||||
; 2018-05-20, Christian Kruger
|
; 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);
|
; unsigned len);
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user