👷 Fix compiler error

This commit is contained in:
C-3PO 2018-07-31 14:01:33 +02:00
parent 2ade3e0bd0
commit 04e8f80b20
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
2 changed files with 5 additions and 5 deletions

View file

@ -116,11 +116,11 @@
/* Defines to completely disable specific portions of miniz.c: /* Defines to completely disable specific portions of miniz.c:
If all macros here are defined the only functionality remaining will be CRC-32, adler-32, tinfl, and tdefl. */ If all macros here are defined the only functionality remaining will be CRC-32, adler-32, tinfl, and tdefl. */
/* Define MINIZ_NO_STDIO to disable all usage and any functions which rely on stdio for file I/O. */ /* Define MINIZ_NO_STDIO to disable all usage and any functions which rely on stdio for file I/O. */
/*#define MINIZ_NO_STDIO */ #define MINIZ_NO_STDIO
/* If MINIZ_NO_TIME is specified then the ZIP archive functions will not be able to get the current time, or */ /* If MINIZ_NO_TIME is specified then the ZIP archive functions will not be able to get the current time, or */
/* get/set file times, and the C run-time funcs that get/set times won't be called. */ /* get/set file times, and the C run-time funcs that get/set times won't be called. */
@ -139,7 +139,7 @@
/* Define MINIZ_NO_ZLIB_COMPATIBLE_NAME to disable zlib names, to prevent conflicts against stock zlib. */ /* Define MINIZ_NO_ZLIB_COMPATIBLE_NAME to disable zlib names, to prevent conflicts against stock zlib. */
/*#define MINIZ_NO_ZLIB_COMPATIBLE_NAMES */ /*#define MINIZ_NO_ZLIB_COMPATIBLE_NAMES */
/* Define MINIZ_NO_MALLOC to disable all calls to malloc, free, and realloc. /* Define MINIZ_NO_MALLOC to disable all calls to malloc, free, and realloc.
Note if MINIZ_NO_MALLOC is defined then the user must always provide custom user alloc/free/realloc Note if MINIZ_NO_MALLOC is defined then the user must always provide custom user alloc/free/realloc
callbacks to the zlib and archive API's, and a few stand-alone helper API's which don't provide custom user callbacks to the zlib and archive API's, and a few stand-alone helper API's which don't provide custom user
functions (such as tdefl_compress_mem_to_heap() and tinfl_decompress_mem_to_heap()) won't work. */ functions (such as tdefl_compress_mem_to_heap() and tinfl_decompress_mem_to_heap()) won't work. */

View file

@ -14,10 +14,10 @@
#include "inflate.h" #include "inflate.h"
//The compressed and uncompressed buffer arrays //The compressed and uncompressed buffer arrays
char* comprBuffer; const char* comprBuffer;
char* uncomprBuffer; char* uncomprBuffer;
//Position of the inflater in the buffer arrays //Position of the inflater in the buffer arrays
char* comprBufferNext; const char* comprBufferNext;
char* uncomprBufferNext; char* uncomprBufferNext;
//Buffer lengths //Buffer lengths
unsigned long uncomprBufferSize; unsigned long uncomprBufferSize;