summaryrefslogtreecommitdiffstats
path: root/src/gzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gzip.c')
-rw-r--r--src/gzip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gzip.c b/src/gzip.c
index 302ba72..a53be83 100644
--- a/src/gzip.c
+++ b/src/gzip.c
@@ -70,8 +70,9 @@ opkg_opk_gzip_read(struct opkg_opk_gzip *gzip, void *record)
if (gzip->stream.avail_in == 0) {
/* Input buffer is empty and needs refilled. */
switch (gzip->read(gzip->user_data,
- &gzip->stream.next_in,
- &gzip->stream.avail_in)) {
+ (char **) &gzip->stream.next_in,
+ (size_t *) &gzip->stream.
+ avail_in)) {
case OPKG_OPK_OK:
break;
case OPKG_OPK_END: