summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/script_class_parser.cpp
diff options
context:
space:
mode:
authormarxin <mliska@suse.cz>2019-02-22 15:38:49 +0100
committermarxin <mliska@suse.cz>2019-02-27 06:56:50 +0100
commitaff84ec55d8d0cc782eaa310b9f769291799d5fd (patch)
tree745f6a668d7ab7c97f9df6ab11b2808936749149 /modules/mono/editor/script_class_parser.cpp
parentce114e35dda4b3f282abb458f8409db2369b279e (diff)
downloadredot-engine-aff84ec55d8d0cc782eaa310b9f769291799d5fd.tar.gz
Fix -Wsuggest-attribute=format warnings.
Diffstat (limited to 'modules/mono/editor/script_class_parser.cpp')
-rw-r--r--modules/mono/editor/script_class_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/script_class_parser.cpp b/modules/mono/editor/script_class_parser.cpp
index 53a043b675..fcc58c22e8 100644
--- a/modules/mono/editor/script_class_parser.cpp
+++ b/modules/mono/editor/script_class_parser.cpp
@@ -567,7 +567,7 @@ Error ScriptClassParser::parse(const String &p_code) {
if (full_name.length())
full_name += ".";
full_name += class_decl.name;
- OS::get_singleton()->print(String("Ignoring generic class declaration: " + class_decl.name).utf8());
+ OS::get_singleton()->print("%s", String("Ignoring generic class declaration: " + class_decl.name).utf8().get_data());
}
}
} else if (tk == TK_IDENTIFIER && String(value) == "struct") {