mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-12 21:38:47 +00:00
C++ compiler support v2 (#5252)
* Get C++ compilers working * Fix Formatting
This commit is contained in:
@@ -374,7 +374,7 @@ char *LoadFileText(const char *fileName)
|
||||
|
||||
// WARNING: \r\n is converted to \n on reading, so,
|
||||
// read bytes count gets reduced by the number of lines
|
||||
if (count < size) text = RL_REALLOC(text, count + 1);
|
||||
if (count < size) text = (char *)RL_REALLOC(text, count + 1);
|
||||
|
||||
// Zero-terminate the string
|
||||
text[count] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user