[vlc-commits] Zip: fix a function return type assignment

Jean-Baptiste Kempf git at videolan.org
Sun Jul 29 20:37:45 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 29 08:47:40 2012 +0200| [91fe1b172f7f0592ca69342aafa2238647f0632d] | committer: Jean-Baptiste Kempf

Zip: fix a function return type assignment

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91fe1b172f7f0592ca69342aafa2238647f0632d
---

 modules/access/zip/unzip/unzip.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/zip/unzip/unzip.c b/modules/access/zip/unzip/unzip.c
index 72f2dff..46f37f2 100644
--- a/modules/access/zip/unzip/unzip.c
+++ b/modules/access/zip/unzip/unzip.c
@@ -1172,7 +1172,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 = (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 +



More information about the vlc-commits mailing list