1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Cast needed for g++-14
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2025-04-14
Forwarded: no
--- a/src/drivers/minizip/zip.c
+++ b/src/drivers/minizip/zip.c
@@ -880,7 +880,7 @@
unsigned char bufHead[RAND_HEAD_LEN];
unsigned int sizeHead;
zi->ci.encrypt = 1;
- zi->ci.pcrc_32_tab = get_crc_table();
+ zi->ci.pcrc_32_tab = (const z_crc_t *) get_crc_table();
/*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/
sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting);
|