C++ compiler support v2 (#5252)
* Get C++ compilers working * Fix Formatting
This commit is contained in:
parent
17bc628fd9
commit
adfe2c1704
20 changed files with 106 additions and 97 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue