mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- 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:
parent
fb02b38279
commit
57c7a85d9f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue