Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformat

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/45/head
gregory guy 4 years ago
parent 250e6baa4c
commit 3d5e557e40
No known key found for this signature in database
GPG Key ID: 3BCCA0F7AB4536F4

@ -530,7 +530,7 @@ void tqDebug( const char *msg, ... )
void tqDebug( const TQCString &s ) void tqDebug( const TQCString &s )
{ {
tqDebug(s.data()); tqDebug("%s", s.data());
} }
void tqWarning( const TQString &msg ) void tqWarning( const TQString &msg )
@ -565,7 +565,7 @@ void tqWarning( const char *msg, ... )
void tqWarning( const TQCString &s ) void tqWarning( const TQCString &s )
{ {
tqWarning(s.data()); tqWarning("%s", s.data());
} }
void tqFatal( const TQString &msg ) void tqFatal( const TQString &msg )
@ -600,7 +600,7 @@ void tqFatal( const char *msg, ... )
void tqFatal( const TQCString &s ) void tqFatal( const TQCString &s )
{ {
tqWarning(s.data()); tqWarning("%s", s.data());
} }
/*! /*!

Loading…
Cancel
Save