summaryrefslogtreecommitdiffstats
path: root/depends/quazip/unzip.c
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-01 16:34:51 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-01 16:34:51 +0100
commitf56eff04ef4d23b62a6e095eca5d4b9f2b52e023 (patch)
treed7e5ccd335f4be09d11d3d6bb9c333fa6945516c /depends/quazip/unzip.c
parenta3fbf05c7b77d513b107e34732b2d04045a05c3c (diff)
downloadMultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar
MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.gz
MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.lz
MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.xz
MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.zip
Fix (hopefully) library dependency resolution.
Installing libs is now enabled, hardcoded. Enable -Wall for all builds. Fix many warnings and latent bugs.
Diffstat (limited to 'depends/quazip/unzip.c')
-rw-r--r--depends/quazip/unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/quazip/unzip.c b/depends/quazip/unzip.c
index 6e115ae6..52bc081f 100644
--- a/depends/quazip/unzip.c
+++ b/depends/quazip/unzip.c
@@ -1173,7 +1173,7 @@ extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password)
if (password != NULL)
{
int i;
- s->pcrc_32_tab = get_crc_table();
+ s->pcrc_32_tab = (const unsigned long*) get_crc_table();
init_keys(password,s->keys,s->pcrc_32_tab);
if (ZSEEK(s->z_filefunc, s->filestream,
s->pfile_in_zip_read->pos_in_zipfile +