Commit 91fe1b17 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Zip: fix a function return type assignment

parent de5645a7
...@@ -1172,7 +1172,7 @@ extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password) ...@@ -1172,7 +1172,7 @@ extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password)
if (password != NULL) if (password != NULL)
{ {
int i; int i;
s->pcrc_32_tab = get_crc_table(); s->pcrc_32_tab = (unsigned long*)get_crc_table();
init_keys(password,s->keys,s->pcrc_32_tab); init_keys(password,s->keys,s->pcrc_32_tab);
if (ZSEEK(s->z_filefunc, s->filestream, if (ZSEEK(s->z_filefunc, s->filestream,
s->pfile_in_zip_read->pos_in_zipfile + s->pfile_in_zip_read->pos_in_zipfile +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment