diff options
-rw-r--r-- | src/gzip.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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: |