summaryrefslogtreecommitdiff
path: root/contrib/minizip/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/minizip/crypt.h')
-rw-r--r--contrib/minizip/crypt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/minizip/crypt.h b/contrib/minizip/crypt.h
index 1e9e820..131543f 100644
--- a/contrib/minizip/crypt.h
+++ b/contrib/minizip/crypt.h
@@ -38,6 +38,7 @@ static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
38 * unpredictable manner on 16-bit systems; not a problem 38 * unpredictable manner on 16-bit systems; not a problem
39 * with any known compiler so far, though */ 39 * with any known compiler so far, though */
40 40
41 (void)pcrc_32_tab;
41 temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2; 42 temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2;
42 return (int)(((temp * (temp ^ 1)) >> 8) & 0xff); 43 return (int)(((temp * (temp ^ 1)) >> 8) & 0xff);
43} 44}