summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qtendian/tst_qtendian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/global/qtendian/tst_qtendian.cpp')
-rw-r--r--tests/auto/corelib/global/qtendian/tst_qtendian.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/global/qtendian/tst_qtendian.cpp b/tests/auto/corelib/global/qtendian/tst_qtendian.cpp
index 89c93bf245..7043969c2f 100644
--- a/tests/auto/corelib/global/qtendian/tst_qtendian.cpp
+++ b/tests/auto/corelib/global/qtendian/tst_qtendian.cpp
@@ -134,7 +134,7 @@ void transformRegion_template(T (*transformOne)(T), void (*transformRegion)(cons
auto checkBounds = [&](int from) {
for ( ; from < Size; ++from)
- QCOMPARE(dest[from], 0);
+ QCOMPARE(dest[from], T(0));
};
transformRegion(source, 1, dest);