summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-01-12 10:09:48 -0800
committerMarc Mutz <marc.mutz@qt.io>2022-01-16 11:59:39 +0000
commitb387fbd1223a4b86164e0a9775afdb7baffea83a (patch)
treefb72a44f66ad396816544c41498549548156257b /tests/auto
parent3976449c0e38ac4294ea1b353098115be1a5e385 (diff)
QVersionNumber: change int to qsizetype for index and length
This class is not exported, so we can change the non-exported methods. None of the exported methods required change; notably, QVersionNumber::Segments::setVector didn't because it's only called with values 1, 2, and 3. [ChangeLog][Potentially source-incompatible changes] Updated the QVersionNumber API to use qsizetype where length and index values were used. This change retains binary compatibility and the vast majority of users will not experience a source compatibility problem. It could occur with ambiguous overloads when passing results from QVersionNumber to other API not using either int or qsizetype. There could also be new warnings from compilers about converting 64-bit types to 32-bit ones. Change-Id: I0e5f6bec596a4a78bd3bfffd16c9984b61c9b55b Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions