From 2b0cbd3c7ea3aa27b675324cc833d13894a4d623 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 13 Jul 2017 18:46:55 +0200 Subject: SLUDGE: Fix warning --- engines/sludge/newfatal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sludge') diff --git a/engines/sludge/newfatal.cpp b/engines/sludge/newfatal.cpp index 6501f82a64..925aeab3ea 100644 --- a/engines/sludge/newfatal.cpp +++ b/engines/sludge/newfatal.cpp @@ -68,7 +68,7 @@ void registerWindowForFatal() { int inFatal(const Common::String &str) { killSoundStuff(); - error(str.c_str()); + error("%s", str.c_str()); return true; } -- cgit v1.2.3