summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdebug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qdebug.cpp')
-rw-r--r--src/corelib/io/qdebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp
index 0afbb374fae..f07bb05c5b2 100644
--- a/src/corelib/io/qdebug.cpp
+++ b/src/corelib/io/qdebug.cpp
@@ -239,7 +239,7 @@ static inline void putEscapedString(QTextStreamPrivate *d, const Char *begin, si
}
// print as an escape sequence (maybe, see below for surrogate pairs)
- int buflen = 2;
+ qsizetype buflen = 2;
ushort buf[sizeof "\\U12345678" - 1];
buf[0] = '\\';