diff options
Diffstat (limited to 'Source/cm_utf8.c')
-rw-r--r-- | Source/cm_utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cm_utf8.c b/Source/cm_utf8.c index 9c11f2b..c9bf259 100644 --- a/Source/cm_utf8.c +++ b/Source/cm_utf8.c @@ -62,7 +62,7 @@ const char* cm_utf8_decode_character(const char* first, const char* last, /* Extract bits from this multi-byte character. */ { unsigned int uc = c & cm_utf8_mask[ones]; - unsigned char left; + int left; for(left = ones-1; left && first != last; --left) { c = (unsigned char)*first++; |