diff options
Diffstat (limited to 'lib/decompress_inflate.c')
-rw-r--r-- | lib/decompress_inflate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/decompress_inflate.c b/lib/decompress_inflate.c index 1eea07e8f21b..9a7f5dfc0ed7 100644 --- a/lib/decompress_inflate.c +++ b/lib/decompress_inflate.c | |||
@@ -38,13 +38,12 @@ STATIC int INIT gunzip(unsigned char *buf, int len, | |||
38 | int(*flush)(void*, unsigned int), | 38 | int(*flush)(void*, unsigned int), |
39 | unsigned char *out_buf, | 39 | unsigned char *out_buf, |
40 | int *pos, | 40 | int *pos, |
41 | void(*error_fn)(char *x)) { | 41 | void(*error)(char *x)) { |
42 | u8 *zbuf; | 42 | u8 *zbuf; |
43 | struct z_stream_s *strm; | 43 | struct z_stream_s *strm; |
44 | int rc; | 44 | int rc; |
45 | size_t out_len; | 45 | size_t out_len; |
46 | 46 | ||
47 | set_error_fn(error_fn); | ||
48 | rc = -1; | 47 | rc = -1; |
49 | if (flush) { | 48 | if (flush) { |
50 | out_len = 0x8000; /* 32 K */ | 49 | out_len = 0x8000; /* 32 K */ |