diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2022-07-14 18:01:42 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2022-07-20 12:56:18 +0200 |
| commit | cb9715557c414d5b3c90165cc8fc710fbdcdba77 (patch) | |
| tree | d65fe92fd5d96ec7c4b257d54c26bbcc0660e4e8 /src/opengl/qopenglbuffer.cpp | |
| parent | 638893bea083b619b73b33a7dd5589fb2c4c4242 (diff) | |
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>
Diffstat (limited to 'src/opengl/qopenglbuffer.cpp')
0 files changed, 0 insertions, 0 deletions
