浏览代码

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

pull/4680/head
Jeffery Myers 1周前
父节点
当前提交
4b49f02237
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rcore.c

+ 1
- 1
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

正在加载...
取消
保存