mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Fixed compilation with GCC/Clang
error: cannot pass non-trivial object of type 'FName' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
This commit is contained in:
parent
b570d0819b
commit
ef871ec09f
1 changed files with 1 additions and 1 deletions
|
@ -2197,7 +2197,7 @@ template<> FSerializer &Serialize(FSerializer &arc, const char *key, FFont *&fon
|
|||
font = V_GetFont(n);
|
||||
if (font == nullptr)
|
||||
{
|
||||
Printf(TEXTCOLOR_ORANGE "Could not load font %s\n", n);
|
||||
Printf(TEXTCOLOR_ORANGE "Could not load font %s\n", n.GetChars());
|
||||
font = SmallFont;
|
||||
}
|
||||
return arc;
|
||||
|
|
Loading…
Reference in a new issue