Fix warning on WinRT arm

Change-Id: Ibc6a34553bb42319a6937e06ef54cf92847da53c
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
This commit is contained in:
Maurice Kalinowski 2015-05-19 10:26:45 +02:00
parent 67d255f183
commit 528b7b1435

View File

@ -181,7 +181,7 @@ QString QWindowsLocalCodec::convertToUnicodeCharByChar(const char *chars, int le
ws[size +1] = 0;
ws[size] = 0;
size = mbstowcs(ws, mb, length);
for (int i=0; i< size; i++)
for (size_t i = 0; i < size; i++)
s.append(QChar(ws[i]));
delete [] ws;
#endif