summaryrefslogtreecommitdiffstats
path: root/src/corelib/codecs/qwindowscodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/codecs/qwindowscodec.cpp')
-rw-r--r--src/corelib/codecs/qwindowscodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/codecs/qwindowscodec.cpp b/src/corelib/codecs/qwindowscodec.cpp
index cf427c64b6..0f8c5e1a4e 100644
--- a/src/corelib/codecs/qwindowscodec.cpp
+++ b/src/corelib/codecs/qwindowscodec.cpp
@@ -172,7 +172,7 @@ QString QWindowsLocalCodec::convertToUnicodeCharByChar(const char *chars, int le
}
#else
QString s;
- int size = mbstowcs(NULL, mb, length);
+ size_t size = mbstowcs(NULL, mb, length);
if (size < 0) {
Q_ASSERT("Error in CE TextCodec");
return QString();