summaryrefslogtreecommitdiff
path: root/inflate.c
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2018-03-05 08:58:14 +0200
committerHans Kristian Rosbach <hk-github@circlestorm.org>2018-03-14 11:42:42 +0100
commit0f53f3cd93b712e1f84b7d67177c4141691bbbcb (patch)
tree2f11d94dff5e9c89e1b4f2789580c1c0f13467e8 /inflate.c
parent1f3b7e9a99973819f4158cfedcd0eb3945e20794 (diff)
Fix build on ARM and gcc 4.x.
Diffstat (limited to 'inflate.c')
-rw-r--r--inflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inflate.c b/inflate.c
index 93d1df3..8b3e930 100644
--- a/inflate.c
+++ b/inflate.c
@@ -1349,7 +1349,7 @@ int ZEXPORT PREFIX(inflateGetHeader)(PREFIX3(stream) *strm, PREFIX(gz_headerp) h
called again with more data and the *have state. *have is initialized to
zero for the first call.
*/
-static unsigned syncsearch(uint32_t *have, const unsigned char *buf, uint32_t len) {
+static uint32_t syncsearch(uint32_t *have, const unsigned char *buf, uint32_t len) {
uint32_t got;
uint32_t next;