diff options
author | Patrick 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) |
commit | 76ebb2415570162416da64d1136707e02228bb5c (patch) | |
tree | 03a4af4d628d79626621ac0eaac156c9a8a4ba31 /src | |
parent | e96317dc6eb6a629b11deaccde495a4f8c854880 (diff) |
gzip: Cast to avoid warnings
Diffstat (limited to 'src')
-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: |