summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-11-18 16:09:44 +0100
committerKai Koehne <kai.koehne@qt.io>2021-11-19 12:18:50 +0000
commit426b2cae7cee09d8a169b179133ff1c82d857e96 (patch)
tree8d5d63c0fba793d6a0934eb8e9f7766224492746 /src/android
parent4f69a1e1d2ae8f475bbd7e1d3c1ca92487c6ea90 (diff)
Remove unneeded int conversions in qmetatype.h
They were added in Qt 5, where QByteArray::reserve() was an int argument, and qstrlen() was returning an int. In Qt 6, both accept and return qsizetype/size_t. As a side effect, this fixes various informational messages when loading a Qt project into Visual Studio 2022: lnt-arithmetic-overflow: A sub-expression may overflow before being assigned to a wider type. Pick-to: 6.2 Change-Id: Ifc9a1f7046a78bcfb97fe241d697c1bf91c6ba4f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions