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

Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 3d5e557e40)
r14.0.x
gregory guy 4 years ago committed by Michele Calgaro
parent c7f76b122a
commit d0da081258
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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());
}
/*!

Loading…
Cancel
Save