From 3d5e557e4087bab76025f907faf3f3953a8f9988 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 22 Sep 2020 14:48:51 +0200 Subject: Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformat Signed-off-by: gregory guy --- src/tools/qglobal.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/tools/qglobal.cpp b/src/tools/qglobal.cpp index e1ce5d5b9..ed8805291 100644 --- a/src/tools/qglobal.cpp +++ b/src/tools/qglobal.cpp @@ -530,7 +530,7 @@ void tqDebug( const char *msg, ... ) void tqDebug( const TQCString &s ) { - tqDebug(s.data()); + tqDebug("%s", s.data()); } void tqWarning( const TQString &msg ) @@ -565,7 +565,7 @@ void tqWarning( const char *msg, ... ) void tqWarning( const TQCString &s ) { - tqWarning(s.data()); + tqWarning("%s", s.data()); } void tqFatal( const TQString &msg ) @@ -600,7 +600,7 @@ void tqFatal( const char *msg, ... ) void tqFatal( const TQCString &s ) { - tqWarning(s.data()); + tqWarning("%s", s.data()); } /*! -- cgit v1.2.1