summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorgunnar <gunnar@trolltech.com>2009-11-05 18:53:55 (GMT)
committergunnar <gunnar@trolltech.com>2009-11-05 18:59:39 (GMT)
commitc4f5a858edbe764f1e899b6c5201a61982e13061 (patch)
treefa6dfd5a4cd73c7804fd1707bd38a63b23659174 /tests
parentf7b457e3d72b412b1d5ce080a40f290ab9bf46ab (diff)
downloadQt-c4f5a858edbe764f1e899b6c5201a61982e13061.zip
Qt-c4f5a858edbe764f1e899b6c5201a61982e13061.tar.gz
Qt-c4f5a858edbe764f1e899b6c5201a61982e13061.tar.bz2
Fixed warning in lance on printf with wrong types
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-rw-r--r--tests/arthur/common/paintcommands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arthur/common/paintcommands.cpp b/tests/arthur/common/paintcommands.cpp
index 475f07d..44deb0e 100644
--- a/tests/arthur/common/paintcommands.cpp
+++ b/tests/arthur/common/paintcommands.cpp
@@ -974,7 +974,7 @@ void PaintCommands::command_drawPixmap(QRegExp re)
if (sh == 0) sh = -1;
if (m_verboseMode)
- printf(" -(lance) drawPixmap('%s' dim=(%d, %d), depth=%d, (%d, %d, %d, %d), (%d, %d, %d, %d)\n",
+ printf(" -(lance) drawPixmap('%s' dim=(%d, %d), depth=%d, (%f, %f, %f, %f), (%f, %f, %f, %f)\n",
qPrintable(re.cap(1)), pm.width(), pm.height(), pm.depth(),
tx, ty, tw, th, sx, sy, sw, sh);
@@ -1022,7 +1022,7 @@ void PaintCommands::command_drawImage(QRegExp re)
if (sh == 0) sh = -1;
if (m_verboseMode)
- printf(" -(lance) drawImage('%s' dim=(%d, %d), (%d, %d, %d, %d), (%d, %d, %d, %d)\n",
+ printf(" -(lance) drawImage('%s' dim=(%d, %d), (%f, %f, %f, %f), (%f, %f, %f, %f)\n",
qPrintable(re.cap(1)), im.width(), im.height(), tx, ty, tw, th, sx, sy, sw, sh);
m_painter->drawImage(QRectF(tx, ty, tw, th), im, QRectF(sx, sy, sw, sh), Qt::OrderedDither | Qt::OrderedAlphaDither);