- fixed compilation with Clang

source/build/src/defs.cpp:3198:56: error: cannot pass non-trivial object of type 'FString' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
This commit is contained in:
alexey.lysiuk 2021-04-09 15:55:30 +03:00
parent fb02b38279
commit 57c7a85d9f

View file

@ -3195,7 +3195,7 @@ int32_t loaddefinitionsfile(const char *fn, bool loadadds, bool cumulative)
int lump, lastlump = 0; int lump, lastlump = 0;
while ((lump = fileSystem.FindLumpFullName(fn, &lastlump)) >= 0) while ((lump = fileSystem.FindLumpFullName(fn, &lastlump)) >= 0)
{ {
Printf(PRINT_NONOTIFY, "Loading \"%s\"\n", fileSystem.GetFileFullPath(lump)); Printf(PRINT_NONOTIFY, "Loading \"%s\"\n", fileSystem.GetFileFullPath(lump).GetChars());
parseit(lump); parseit(lump);
} }
} }