summaryrefslogtreecommitdiff
blob: b5f9d4b9cf3d4032ef92987ab5d0f0cb1e53aaca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/testparser.cpp b/tests/testparser.cpp
index bc84d9d..406423a 100644
--- a/tests/testparser.cpp
+++ b/tests/testparser.cpp
@@ -267,7 +267,7 @@ void TestParser::testNumbers_data() {
   // big number
   input = QByteArray("128708157440");
   output = QVariant(QVariant::ULongLong);
-  output.setValue(128708157440);
+  output.setValue(Q_UINT64_C(128708157440));
 
   QTest::newRow("big number") << input << output << QVariant::ULongLong;