From 69368fbf3481542650851e36ce2f8029a6d5b852 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Tue, 31 Jan 2017 03:27:00 +0100 Subject: [PATCH] (griffin) build fix. --- deps/zlib/crc32.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deps/zlib/crc32.c b/deps/zlib/crc32.c index a3eee9205a..06a3524487 100644 --- a/deps/zlib/crc32.c +++ b/deps/zlib/crc32.c @@ -1,6 +1,8 @@ #ifndef _S_CRC32_H #define _S_CRC32_H +#include + #ifdef __cplusplus extern "C" { #endif @@ -80,9 +82,9 @@ extern "C" { return crc ^ 0xffffffffL; } - const unsigned long * get_crc_table() + const z_crc_t FAR * ZEXPORT get_crc_table() { - return crc_table; + return (const z_crc_t FAR *)crc_table; } #ifdef __cplusplus