diff --git a/examples/text/text_words_alignment.c b/examples/text/text_words_alignment.c index f0ebc78a5..47f0fe2a1 100644 --- a/examples/text/text_words_alignment.c +++ b/examples/text/text_words_alignment.c @@ -50,7 +50,7 @@ int main(void) // Define the text we're going to draw in the rectangle int wordIndex = 0; int wordCount = 0; - char **words = TextSplit("raylib is a simple and easy-to-use library to enjoy videogames programming", ' ', &wordCount); + const char **words = TextSplit("raylib is a simple and easy-to-use library to enjoy videogames programming", ' ', &wordCount); // Initialize the font size we're going to use int fontSize = 40;