diff options
| author | Ray <[email protected]> | 2022-07-03 11:11:50 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-07-03 11:11:50 +0200 |
| commit | f579a3a708c5f544cb93b6d0b5ebdaff135d97c7 (patch) | |
| tree | 7e567430294dd7496e623c67281f167e5d60d223 | |
| parent | 061e828524e91ddb04dec6b941b67b15bccf736e (diff) | |
| download | raylib-f579a3a708c5f544cb93b6d0b5ebdaff135d97c7.tar.gz raylib-f579a3a708c5f544cb93b6d0b5ebdaff135d97c7.zip | |
REVIEWED: `DecompressData()`
| -rw-r--r-- | src/rcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c index c524d11c..55e820b6 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -3290,7 +3290,7 @@ unsigned char *DecompressData(const unsigned char *compData, int compDataSize, i #if defined(SUPPORT_COMPRESSION_API) // Decompress data from a valid DEFLATE stream data = RL_CALLOC(MAX_DECOMPRESSION_SIZE*1024*1024, 1); - int length = sinflate(data, MAX_DECOMPRESSION_SIZE, compData, compDataSize); + int length = sinflate(data, MAX_DECOMPRESSION_SIZE*1024*1024, compData, compDataSize); unsigned char *temp = RL_REALLOC(data, length); if (temp != NULL) data = temp; |
