From 3e6388c1832c087cdeee404d3c8910a932990fd6 Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Tue, 27 Nov 2018 15:49:41 +0000 Subject: [PATCH] use UINT8 * instead of void or Bytef * --- src/w_wad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/w_wad.c b/src/w_wad.c index 8693dd40f..92c2aeabb 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -1243,8 +1243,8 @@ size_t W_ReadLumpHeaderPwad(UINT16 wad, UINT16 lump, void *dest, size_t size, si #ifdef HAVE_ZLIB case CM_DEFLATE: // Is it compressed via DEFLATE? Very common in ZIPs/PK3s, also what most doom-related editors support. { - void *rawData; // The lump's raw data. - Bytef *decData; // Lump's decompressed real data. + UINT8 *rawData; // The lump's raw data. + UINT8 *decData; // Lump's decompressed real data. int zErr; // Helper var. z_stream strm;