Skip to content

Commit 716bb5e

Browse files
authored
Merge pull request #189 from loki666/zlib_uncompr
fix uncompr.c compilation
2 parents 27ad7ff + 24f4f93 commit 716bb5e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/compat/zlib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,8 +1196,8 @@ typedef int (*out_func) (void FAR *, unsigned char FAR *, unsigned);
11961196
compress() or compress2() call to allocate the destination buffer.
11971197
*/
11981198

1199-
int uncompress (unsigned char *dest, uint32_t *destLen,
1200-
const unsigned char *source, uint32_t sourceLen);
1199+
int uncompress (Bytef *dest, uLongf *destLen,
1200+
const Bytef *source, uLongf sourceLen);
12011201
/*
12021202
Decompresses the source buffer into the destination buffer. sourceLen is
12031203
the byte length of the source buffer. Upon entry, destLen is the total size

include/compat/zlib/zlib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,8 +1190,8 @@ typedef int (*out_func) (void FAR *, unsigned char FAR *, unsigned);
11901190
compress() or compress2() call to allocate the destination buffer.
11911191
*/
11921192

1193-
int uncompress (unsigned char *dest, uint32_t *destLen,
1194-
const unsigned char *source, uint32_t sourceLen);
1193+
int uncompress (Bytef *dest, uLongf *destLen,
1194+
const Bytef *source, uLongf sourceLen);
11951195
/*
11961196
Decompresses the source buffer into the destination buffer. sourceLen is
11971197
the byte length of the source buffer. Upon entry, destLen is the total size

0 commit comments

Comments
 (0)