👷 Fix compiler error
This commit is contained in:
parent
2ade3e0bd0
commit
04e8f80b20
2 changed files with 5 additions and 5 deletions
|
@ -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. */
|
||||
|
||||
/* 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 */
|
||||
/* 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_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
|
||||
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. */
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
#include "inflate.h"
|
||||
|
||||
//The compressed and uncompressed buffer arrays
|
||||
char* comprBuffer;
|
||||
const char* comprBuffer;
|
||||
char* uncomprBuffer;
|
||||
//Position of the inflater in the buffer arrays
|
||||
char* comprBufferNext;
|
||||
const char* comprBufferNext;
|
||||
char* uncomprBufferNext;
|
||||
//Buffer lengths
|
||||
unsigned long uncomprBufferSize;
|
||||
|
|
Loading…
Reference in a new issue