diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2022-07-20 21:23:32 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2022-09-01 13:51:48 +0000 |
| commit | 24e8a693cdf418a90559472addfd49637ff4e270 (patch) | |
| tree | 7e86227e9b42010682c51f7fbffd8372d14c78cf /src/corelib/kernel/qobject.cpp | |
| parent | df76a0585f2badb30aa90ccfb52fa9fa33a00784 (diff) | |
QLocale: port to qsizetype [2/N]: remainder (qlocale_win.cpp partial)
Port ints to qsizetypes where they're not blatantly wrong. This
includes indexed loops that don't require the additional range,
because int these days is a code smell, so if we can save the next
code reader a few moments of digging to convince herself that the int
is ok even in 64-bit builds, then let's do it.
The Windows implementation only has the most obvious occurrences
ported, because I lack platform access. Created QTBUG-105100 to track
the missing changes. OSX should be fine, provided sizeof(long) == 8 on
64-bit OSX.
Pick-to: 6.4 6.3
Task-number: QTBUG-103531
Change-Id: I679183f28ed42e89e2879e29457e6a4e487fed0d
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
