From a4264837ae37384b1d7a205a6732db322f0f3769 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 11 Apr 2019 02:35:18 +0200 Subject: [PATCH] Fix type issue --- miniz_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniz_zip.c b/miniz_zip.c index b5832ce..955ee20 100644 --- a/miniz_zip.c +++ b/miniz_zip.c @@ -764,7 +764,7 @@ static mz_bool mz_zip_reader_read_central_dir(mz_zip_archive *pZip, mz_uint flag return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); } - pExtra_data = buf; + pExtra_data = (mz_uint8*)buf; } else {