(griffin) build fix.

This commit is contained in:
aliaspider 2017-01-31 03:27:00 +01:00
parent 7416ba8b23
commit 69368fbf34

6
deps/zlib/crc32.c vendored
View File

@ -1,6 +1,8 @@
#ifndef _S_CRC32_H #ifndef _S_CRC32_H
#define _S_CRC32_H #define _S_CRC32_H
#include <compat/zlib.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -80,9 +82,9 @@ extern "C" {
return crc ^ 0xffffffffL; 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 #ifdef __cplusplus