Fixed additional format string warning reported by GCC/Clang

See https://forum.zdoom.org/viewtopic.php?t=54541
This commit is contained in:
alexey.lysiuk 2016-12-24 14:34:45 +02:00 committed by Christoph Oelckers
parent e825918451
commit 5d8d15ecc3

View file

@ -9511,7 +9511,7 @@ FxExpression *FxClassTypeCast::Resolve(FCompileContext &ctx)
/* lax */
// Since this happens in released WADs it must pass without a terminal error... :(
ScriptPosition.Message(MSG_OPTERROR,
"Unknown class name '%s'",
"Unknown class name '%s' of type '%s'",
clsname.GetChars(), desttype->TypeName.GetChars());
}
else