diff options
author | Jeffrey Armstrong <jeff@approximatrix.com> | 2021-11-22 08:47:32 -0500 |
---|---|---|
committer | Jeffrey Armstrong <jeff@approximatrix.com> | 2021-11-22 08:47:32 -0500 |
commit | 5f33f9cdde2900cb74e6281f8d848bc874c12d95 (patch) | |
tree | 6dfc95eb36cd6e57cb0abb11676180816a962e4c /zwrapper.c | |
parent | b5ec0f54fe391f3f948ba23b1e534901f45c64a2 (diff) | |
download | libzip-wrapper-5f33f9cdde2900cb74e6281f8d848bc874c12d95.tar.gz libzip-wrapper-5f33f9cdde2900cb74e6281f8d848bc874c12d95.zip |
Files for writing are now opened as binaries on Windows
Diffstat (limited to 'zwrapper.c')
-rw-r--r-- | zwrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |