From ba699548a0f398d2ba808ad88c61cd8b9a7c888a Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Fri, 21 Aug 2009 15:23:10 -0300 Subject: - Fix compilation when using restritive security flags -Wformat - Werror=format-security in gcc Thanks Helio Castro. fixes bug#8 --- reporthandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reporthandler.cpp') diff --git a/reporthandler.cpp b/reporthandler.cpp index c03100815..18a9a9c1e 100644 --- a/reporthandler.cpp +++ b/reporthandler.cpp @@ -83,7 +83,7 @@ void ReportHandler::progress(const QString& str, ...) void ReportHandler::printProgress() { - printf(m_progressBuffer); + printf("%s", m_progressBuffer); fflush(stdout); } -- cgit v1.2.3