aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index c3c20b47..dd08f5f8 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -79,7 +79,7 @@ unsigned char *DecompressData(const unsigned char *data, unsigned long compSize,
pUncomp = (mz_uint8 *)malloc((size_t)uncompSize);
// Check correct memory allocation
- if (!pUncomp)
+ if (pUncomp == NULL)
{
TraceLog(WARNING, "Out of memory while decompressing data");
}