From 5d8d15ecc38fde9c0a546a6f89f631f283b3b2a4 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 24 Dec 2016 14:34:45 +0200 Subject: [PATCH] Fixed additional format string warning reported by GCC/Clang See https://forum.zdoom.org/viewtopic.php?t=54541 --- src/scripting/codegeneration/codegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/codegeneration/codegen.cpp b/src/scripting/codegeneration/codegen.cpp index 8948de223..6a1bc8717 100644 --- a/src/scripting/codegeneration/codegen.cpp +++ b/src/scripting/codegeneration/codegen.cpp @@ -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