diff options
Diffstat (limited to 'tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp')
-rw-r--r-- | tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp b/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp index aebc0422ad..b9a7d88056 100644 --- a/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp +++ b/tests/auto/corelib/tools/qhashfunctions/tst_qhashfunctions.cpp @@ -195,7 +195,7 @@ void tst_QHashFunctions::signedIntegerConsistency() if (v32 == value) { // because of QTBUG-116080, this may not match, but we can't guarantee // it mismatches 100% of the time either - if constexpr (sizeof(size_t) > sizeof(int)) + if constexpr (sizeof(size_t) > sizeof(int) || QT_VERSION_MAJOR > 6) QCOMPARE(hs64, hs32); } |