From 76ebb2415570162416da64d1136707e02228bb5c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 18 Apr 2023 09:48:31 -0400 Subject: gzip: Cast to avoid warnings --- (limited to 'src/gzip.c') 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: -- cgit v0.9.1