Przeglądaj źródła

GCC 14+ does not like auto-casting a char** to a const char** for some reason.

pull/4680/head
Jeffery Myers 1 tydzień temu
rodzic
commit
4b49f02237
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c Wyświetl plik

@ -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

Ładowanie…
Anuluj
Zapisz