summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-18 09:48:31 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-18 09:48:31 (EDT)
commit76ebb2415570162416da64d1136707e02228bb5c (patch)
tree03a4af4d628d79626621ac0eaac156c9a8a4ba31 /src
parente96317dc6eb6a629b11deaccde495a4f8c854880 (diff)
gzip: Cast to avoid warnings
Diffstat (limited to 'src')
-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: