Browse Source

REVIEWED: DecompressData()

pull/1570/head
raysan5 3 years ago
parent
commit
421e5d4829
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/core.c

+ 2
- 2
src/core.c View File

@ -2594,7 +2594,7 @@ unsigned char *CompressData(unsigned char *data, int dataLength, int *compDataLe
// Decompress data (DEFLATE algorythm)
unsigned char *DecompressData(unsigned char *compData, int compDataLength, int *dataLength)
{
char *data = NULL;
unsigned char *data = NULL;
#if defined(SUPPORT_COMPRESSION_API)
// Decompress data from a valid DEFLATE stream
@ -2610,7 +2610,7 @@ unsigned char *DecompressData(unsigned char *compData, int compDataLength, int *
TraceLog(LOG_INFO, "SYSTEM: Data compressed: Original size: %i -> Comp. size: %i\n", dataLength, compDataLength);
#endif
return p">(unsigned char *)data;
return data;
}
// Save integer value to storage file (to defined position)

Loading…
Cancel
Save