From f8b7cfb6aefa42a8dc44b52c72bb94bdd33236f4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 12 Apr 2012 02:50:21 +0000 Subject: code cleanup: quiet some mingw warnings. --- intern/utfconv/utfconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') diff --git a/intern/utfconv/utfconv.c b/intern/utfconv/utfconv.c index 99f5fcb4c2c..b9946a61cdb 100644 --- a/intern/utfconv/utfconv.c +++ b/intern/utfconv/utfconv.c @@ -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; } -- cgit v1.2.3