From d0da08125889e384076c688a8e4cedba31857a3c Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 22 Sep 2020 14:48:51 +0200 Subject: [PATCH] Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformat Signed-off-by: gregory guy (cherry picked from commit 3d5e557e4087bab76025f907faf3f3953a8f9988) --- src/tools/qglobal.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/qglobal.cpp b/src/tools/qglobal.cpp index 9d7d8937..800f615f 100644 --- a/src/tools/qglobal.cpp +++ b/src/tools/qglobal.cpp @@ -584,7 +584,7 @@ void warning( const char *msg, ... ) void tqDebug( const TQCString &s ) { - tqDebug(s.data()); + tqDebug("%s", s.data()); } void tqWarning( const TQString &msg ) @@ -619,7 +619,7 @@ void tqWarning( const char *msg, ... ) void tqWarning( const TQCString &s ) { - tqWarning(s.data()); + tqWarning("%s", s.data()); } void tqFatal( const TQString &msg ) @@ -689,7 +689,7 @@ void fatal( const char *msg, ... ) void tqFatal( const TQCString &s ) { - tqWarning(s.data()); + tqWarning("%s", s.data()); } /*!