Update zlib.h (#13641)

fix compilation of uncompr.c
This commit is contained in:
Philippe Simons 2022-02-19 21:11:59 +01:00 committed by GitHub
parent d2ab5d05ee
commit 5a3cd8671e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1190,8 +1190,8 @@ typedef int (*out_func) (void FAR *, unsigned char FAR *, unsigned);
compress() or compress2() call to allocate the destination buffer. compress() or compress2() call to allocate the destination buffer.
*/ */
int uncompress (unsigned char *dest, uint32_t *destLen, int uncompress (Bytef *dest, uLongf *destLen,
const unsigned char *source, uint32_t sourceLen); const Bytef *source, uLongf sourceLen);
/* /*
Decompresses the source buffer into the destination buffer. sourceLen is Decompresses the source buffer into the destination buffer. sourceLen is
the byte length of the source buffer. Upon entry, destLen is the total size the byte length of the source buffer. Upon entry, destLen is the total size