summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a24f3de..01f564b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -76,7 +76,9 @@ _opkg_opk_main_extract(const char *file_name, const char *outer_member,
goto error3;
}
- inner_gzip = opkg_opk_gzip_init(&opkg_opk_ustar_read, outer_ustar);
+ inner_gzip = opkg_opk_gzip_init(
+ (opkg_opk_gzip_read_func *) &opkg_opk_ustar_read,
+ outer_ustar);
if (inner_gzip == NULL) {
goto error3;
}