qt5base-lts/tests/auto/corelib/text/qbytearray
Marc Mutz cb9715557c tst_QByteArray: fix custom QCOMPARE for QBAs > 2GiB
The tst_QByteArray test redefines the QCOMPARE macro to check the LHS
to be NUL-terminated. Because the code was never ported from int to
qsizetype, it fails for QByteArrays of size > 2GiB.

Fix by porting to qsizetype.

Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-104985
Change-Id: Ib3951b0efed5f734ae1324ea2d455bb7762fb9c4
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-07-20 12:56:18 +02:00
..
.gitattributes
.gitignore
CMakeLists.txt Cleanup tests that add test data to resources explicitly 2022-02-11 21:54:44 +01:00
rfc3252.txt
tst_qbytearray_mac.mm Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tst_qbytearray.cpp tst_QByteArray: fix custom QCOMPARE for QBAs > 2GiB 2022-07-20 12:56:18 +02:00