summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-11-15 11:59:41 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-11-15 12:00:04 (GMT)
commit22c71ed42529277caa4dc8db03efd975b3910546 (patch)
treede534b2c62fa7e484cf2564ed6955f105c0ea63d /tests/auto
parent96f8a8f87c28df9c753d9f3494d806a6dea24ba7 (diff)
downloadQt-22c71ed42529277caa4dc8db03efd975b3910546.zip
Qt-22c71ed42529277caa4dc8db03efd975b3910546.tar.gz
Qt-22c71ed42529277caa4dc8db03efd975b3910546.tar.bz2
compile with quintptr instead of intptr_t
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp b/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
index 3dd69da..652404c 100644
--- a/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
+++ b/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
@@ -1566,7 +1566,7 @@ void tst_qdeclarativeecmascript::callQtInvokables()
o.reset();
{
- QString expected = "MyInvokableObject(0x" + QString::number((intptr_t)&o, 16) + ")";
+ QString expected = "MyInvokableObject(0x" + QString::number((quintptr)&o, 16) + ")";
QCOMPARE(engine->evaluate("object.method_QString(object)").isUndefined(), true);
QCOMPARE(o.error(), false);
QCOMPARE(o.invoked(), 11);