diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-11-18 16:09:44 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2021-11-19 12:18:50 +0000 |
commit | 426b2cae7cee09d8a169b179133ff1c82d857e96 (patch) | |
tree | 8d5d63c0fba793d6a0934eb8e9f7766224492746 /src/android | |
parent | 4f69a1e1d2ae8f475bbd7e1d3c1ca92487c6ea90 (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