diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-11-03 16:04:31 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2021-11-05 09:06:22 +0100 |
commit | faa854ffeb1e028c401b449f1b18ee3ae92263e0 (patch) | |
tree | 9101db8e5d9bfe3ab548ea1beeb21b2117c07252 /doc/config/exampleurl-qtpurchasing.qdocconf | |
parent | 0b768e3c43887fe35c2df4ca4263f54ebb7fec9d (diff) |
QByteArrayList: fix narrowing in join() implementations [2/2]
We forgot to adjust the interface and implementation of join() to the
int → qsizetype change in Qt 6.
This part of the two-part patch fixes things in a non-forwards-BC way,
so it can't be picked into released versions. The forwards-BC part is
in the first patch of the series.
We can't just replace the int seplen with qsizetype, because qsizetype
is an alias to int on 32-bit platforms. So, pass the separator by
QByteArrayView.
[ChangeLog][QtCore][QByteArrayList] Fixed a bug when calling join()
with separators of length > INTMAX.
Change-Id: I2ccc61de1c8901ac5504aea1ebd895d12dbcb064
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'doc/config/exampleurl-qtpurchasing.qdocconf')
0 files changed, 0 insertions, 0 deletions