summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qlocale_win.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-07-18 16:16:57 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-08-12 07:54:51 +0200
commit1aa00c993be4d7e27555bcd5c13f945766090b9c (patch)
treee21561cc67ef6c10337c534c1f9e6071712c55e3 /src/corelib/text/qlocale_win.cpp
parent3e1c6e74967e0c283655f4377a0e72efa551ddb0 (diff)
Port qt_readEscapedFormatString() to qsizetype
More of the usual missing int -> qsizetype porting... Pick-to: 6.4 6.3 6.2 Task-number: QTBUG-103531 Change-Id: I53faff5fe306c1d207741bc93a1e5c15d3eefa4f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/text/qlocale_win.cpp')
-rw-r--r--src/corelib/text/qlocale_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qlocale_win.cpp b/src/corelib/text/qlocale_win.cpp
index 47644f6566..dc867be696 100644
--- a/src/corelib/text/qlocale_win.cpp
+++ b/src/corelib/text/qlocale_win.cpp
@@ -718,7 +718,7 @@ void QSystemLocalePrivate::update()
QString QSystemLocalePrivate::winToQtFormat(QStringView sys_fmt)
{
QString result;
- int i = 0;
+ qsizetype i = 0;
while (i < sys_fmt.size()) {
if (sys_fmt.at(i).unicode() == u'\'') {