diff options
author | gregory guy <[email protected]> | 2020-09-22 14:48:51 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2020-09-22 14:50:34 +0200 |
commit | 3d5e557e4087bab76025f907faf3f3953a8f9988 (patch) | |
tree | fae5ae4b49b7deaf72fcf9f0ffb553c1adbf9f0d | |
parent | 250e6baa4c9f3a20628525e197fb48e85e73e65d (diff) | |
download | tqt3-3d5e557e4087bab76025f907faf3f3953a8f9988.tar.gz tqt3-3d5e557e4087bab76025f907faf3f3953a8f9988.zip |
Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformat
Signed-off-by: gregory guy <[email protected]>
-rw-r--r-- | src/tools/qglobal.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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()); } /*! |