We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da607da commit 0d8cda5Copy full SHA for 0d8cda5
1 file changed
contrib/minizip/zip.c
@@ -463,7 +463,7 @@ local char *block_central_name(block_t *block, set_t *set) {
463
// the central directory is invalid, -2 if out of memory, or ZIP_PARAMERROR if
464
// file is NULL. */
465
extern int ZEXPORT zipAlreadyThere(zipFile file, char const *name) {
466
- zip64_internal *zip = file;
+ zip64_internal *zip = (zip64_internal*)file;
467
if (zip == NULL)
468
return ZIP_PARAMERROR;
469
if (zip->central_dir.first_block == NULL)
0 commit comments