diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:02 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:02 -0700 |
commit | 79fbcdc939b5d515218187a0d5f2526fb632075a (patch) | |
tree | dc82b3a452568093ab8a9f365126ba56a419eea1 /contrib/minizip/zip.c | |
parent | 7a6955760ba950eb82f57929f8f6c9847c65f0af (diff) | |
download | zlib-1.2.2.tar.gz zlib-1.2.2.tar.bz2 zlib-1.2.2.zip |
zlib 1.2.2v1.2.2
Diffstat (limited to 'contrib/minizip/zip.c')
-rw-r--r-- | contrib/minizip/zip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c index ce1444c..2ccd7fd 100644 --- a/contrib/minizip/zip.c +++ b/contrib/minizip/zip.c | |||
@@ -717,9 +717,9 @@ extern int ZEXPORT zipOpenNewFileInZip3 (file, filename, zipfi, | |||
717 | if (comment==NULL) | 717 | if (comment==NULL) |
718 | size_comment = 0; | 718 | size_comment = 0; |
719 | else | 719 | else |
720 | size_comment = strlen(comment); | 720 | size_comment = (uInt)strlen(comment); |
721 | 721 | ||
722 | size_filename = strlen(filename); | 722 | size_filename = (uInt)strlen(filename); |
723 | 723 | ||
724 | if (zipfi == NULL) | 724 | if (zipfi == NULL) |
725 | zi->ci.dosDate = 0; | 725 | zi->ci.dosDate = 0; |
@@ -1126,7 +1126,7 @@ extern int ZEXPORT zipClose (file, global_comment) | |||
1126 | if (global_comment==NULL) | 1126 | if (global_comment==NULL) |
1127 | size_global_comment = 0; | 1127 | size_global_comment = 0; |
1128 | else | 1128 | else |
1129 | size_global_comment = strlen(global_comment); | 1129 | size_global_comment = (uInt)strlen(global_comment); |
1130 | 1130 | ||
1131 | 1131 | ||
1132 | centraldir_pos_inzip = ZTELL(zi->z_filefunc,zi->filestream); | 1132 | centraldir_pos_inzip = ZTELL(zi->z_filefunc,zi->filestream); |