diff --git a/src/models.c b/src/models.c index 6d95441fe..935b97799 100644 --- a/src/models.c +++ b/src/models.c @@ -3455,7 +3455,7 @@ static Model LoadGLTF(const char *fileName) { /*********************************************************************************** - Function implemented by Wilhem Barbier(@wbrbr), with modifications by Tyler Bezera(@gamerfiend) + Function implemented by Wilhem Barbier(@wbrbr), with modifications by Tyler Bezera(@gamerfiend) Features: - Supports .gltf and .glb files diff --git a/src/text.c b/src/text.c index 08326cde0..fccb0198f 100644 --- a/src/text.c +++ b/src/text.c @@ -1446,7 +1446,7 @@ char *TextToUtf8(int *codepoints, int length) // Resize memory to text length + string NULL terminator void *ptr = RL_REALLOC(text, size + 1); - + if (ptr != NULL) text = (char *)ptr; return text;