From 2b2694a89fdfa85a90ce6e311d2477f2bca7be5d Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 10 Jan 2025 22:36:11 +0100 Subject: [PATCH] Fix #4680 --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 2806235c..a90a6038 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -1931,7 +1931,7 @@ bool IsFileExtension(const char *fileName, const char *ext) { #if defined(SUPPORT_MODULE_RTEXT) && defined(SUPPORT_TEXT_MANIPULATION) int extCount = 0; - const char **checkExts = TextSplit(ext, ';', &extCount); // WARNING: Module required: rtext + char **checkExts = TextSplit(ext, ';', &extCount); // WARNING: Module required: rtext char fileExtLower[MAX_FILE_EXTENSION_LENGTH + 1] = { 0 }; strncpy(fileExtLower, TextToLower(fileExt), MAX_FILE_EXTENSION_LENGTH); // WARNING: Module required: rtext