From ce88830a5994e1e4167aad5b59360d7bf08fc2fc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 21 Jan 2018 10:58:12 +0100 Subject: [PATCH] - fixed a warning caused by the LZMA-SDK update. --- tools/zipdir/zipdir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/zipdir/zipdir.c b/tools/zipdir/zipdir.c index cee41b12e..4cb98c138 100644 --- a/tools/zipdir/zipdir.c +++ b/tools/zipdir/zipdir.c @@ -226,8 +226,8 @@ int copy_zip_file(FILE *zip, file_entry_t *file, FILE *ozip, CentralDirectoryEnt // PRIVATE FUNCTION PROTOTYPES --------------------------------------------- -static void *SzAlloc(void *p, size_t size) { p = p; return malloc(size); } -static void SzFree(void *p, void *address) { p = p; free(address); } +static void *SzAlloc(ISzAllocPtr p, size_t size) { p = p; return malloc(size); } +static void SzFree(ISzAllocPtr p, void *address) { p = p; free(address); } // EXTERNAL DATA DECLARATIONS ----------------------------------------------