code cleanup: quiet some mingw warnings.

This commit is contained in:
Campbell Barton
2012-04-12 02:50:21 +00:00
parent 8fb067af93
commit f8b7cfb6ae
3 changed files with 15 additions and 13 deletions

View File

@@ -34,7 +34,7 @@ size_t count_utf_8_from_16(const wchar_t *string16)
return 0;
}
for (i = 0; u = string16[i]; i++) {
for (i = 0; (u = string16[i]); i++) {
if (u < 0x0080) {
count += 1;
}