summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-09-24 14:28:23 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-09-24 14:49:16 +0200
commit6a3f198e1a8beebc8cc1cf560016125efc60970b (patch)
tree2a02e1b652b5b5221b06b325887dba61675de425 /tests
parent1ab4293e16362c4d7519783a99b8c91790aad159 (diff)
downloadqbs-6a3f198e1a8beebc8cc1cf560016125efc60970b.tar.gz
build fix: use the same types for QCOMPARE
Change-Id: I54c619baceeba0d2b7f1aeadc2d3345561f67b8e Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index 2772bcc89..8fe2cd574 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -1217,7 +1217,7 @@ void TestBlackbox::jsExtensionsTextFile()
QFile file1("file1.txt");
QVERIFY(file1.exists());
QVERIFY(file1.open(QIODevice::ReadOnly));
- QCOMPARE(file1.size(), 0);
+ QCOMPARE(file1.size(), qint64(0));
QFile file2("file2.txt");
QVERIFY(file2.exists());
QVERIFY(file2.open(QIODevice::ReadOnly));