diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp index 9a8620cc1c7..5369e1c6cb6 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -8521,7 +8521,7 @@ static inline char16_t to_unicode(const char c) { return QLatin1Char{c}.unicode( template static int getEscape(const Char *uc, qsizetype *pos, qsizetype len, int maxNumber = 999) { - int i = *pos; + qsizetype i = *pos; ++i; if (i < len && uc[i] == u'L') ++i;