summaryrefslogtreecommitdiff
path: root/zwrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwrapper.c')
-rw-r--r--zwrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zwrapper.c b/zwrapper.c
index 6d07f2b..3d73835 100644
--- a/zwrapper.c
+++ b/zwrapper.c
@@ -95,7 +95,7 @@ FILE *fp_index;
} else {
zf = zip_fopen_index(za, i, 0);
- fp = fopen(fullfile, "w");
+ fp = fopen(fullfile, "wb");
if(zf != NULL && fp != NULL) {
total_read = 0;