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;