aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/minizip/zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c
index d16e9ae..cbb2508 100644
--- a/contrib/minizip/zip.c
+++ b/contrib/minizip/zip.c
@@ -356,7 +356,7 @@ local int block_get(block_t *block) {
356// if the end is reached. 356// if the end is reached.
357local long block_get2(block_t *block) { 357local long block_get2(block_t *block) {
358 long got = block_get(block); 358 long got = block_get(block);
359 return got | ((long)block_get(block) << 8); 359 return got | ((unsigned long)block_get(block) << 8);
360} 360}
361 361
362// Read up to len bytes from block into buf. Return the number of bytes read. 362// Read up to len bytes from block into buf. Return the number of bytes read.