summaryrefslogtreecommitdiffhomepage
path: root/src/utils.c
diff options
context:
space:
mode:
authorRay <[email protected]>2024-04-02 09:38:06 +0200
committerRay <[email protected]>2024-04-02 09:38:06 +0200
commit646d70e93a5a049cb9f603c3b94ee1ba98c9161e (patch)
tree9f428f78eb77548156a8bc0348a9efb02cb7b9ef /src/utils.c
parent1b047995d1046a869fb0f1e8ecf430573e0207e9 (diff)
downloadraylib-646d70e93a5a049cb9f603c3b94ee1ba98c9161e.tar.gz
raylib-646d70e93a5a049cb9f603c3b94ee1ba98c9161e.zip
Remove trailing spaces
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index 2c26c114..895f7777 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -211,13 +211,13 @@ unsigned char *LoadFileData(const char *fileName, int *dataSize)
{
// NOTE: fread() returns number of read elements instead of bytes, so we read [1 byte, size elements]
size_t count = fread(data, sizeof(unsigned char), size, file);
-
+
// WARNING: fread() returns a size_t value, usually 'unsigned int' (32bit compilation) and 'unsigned long long' (64bit compilation)
// dataSize is unified along raylib as a 'int' type, so, for file-sizes > INT_MAX (2147483647 bytes) we have a limitation
if (count > 2147483647)
{
TRACELOG(LOG_WARNING, "FILEIO: [%s] File is bigger than 2147483647 bytes, avoid using LoadFileData()", fileName);
-
+
RL_FREE(data);
data = NULL;
}