summaryrefslogtreecommitdiffstats
path: root/src/tools/qgcache.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-12 17:34:58 -0600
committerTimothy Pearson <[email protected]>2012-02-12 17:34:58 -0600
commite90b15c55dd5cfa5b40e078722c8145264ee7237 (patch)
tree1ea53f263a5d960f339e231cb338a3868768f516 /src/tools/qgcache.cpp
parentd51c5c4d31274906405b22762f560fc999414822 (diff)
downloadqt3-e90b15c55dd5cfa5b40e078722c8145264ee7237.tar.gz
qt3-e90b15c55dd5cfa5b40e078722c8145264ee7237.zip
Clean up a few build warnings
Diffstat (limited to 'src/tools/qgcache.cpp')
-rw-r--r--src/tools/qgcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qgcache.cpp b/src/tools/qgcache.cpp
index a9f970d..3c70d9f 100644
--- a/src/tools/qgcache.cpp
+++ b/src/tools/qgcache.cpp
@@ -641,7 +641,7 @@ void QGCache::statistics() const
#if defined(QT_DEBUG)
QString line;
line.fill( '*', 80 );
- qDebug( line.ascii() );
+ qDebug( "%s", line.ascii() );
qDebug( "CACHE STATISTICS:" );
qDebug( "cache contains %d item%s, with a total cost of %d",
count(), count() != 1 ? "s" : "", tCost );
@@ -662,7 +662,7 @@ void QGCache::statistics() const
lruList->dumps != 1 ? "have" : "has", lruList->dumpCosts );
qDebug( "Statistics from internal dictionary class:" );
dict->statistics();
- qDebug( line.ascii() );
+ qDebug( "%s", line.ascii() );
#endif
}