summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utf8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.h b/utf8.h
index d0182e97..3300cfbd 100644
--- a/utf8.h
+++ b/utf8.h
@@ -41,9 +41,9 @@ enum utf8_state { utf8_init, utf8_more1, utf8_more2, utf8_more3 };
typedef struct utf8_decoder {
enum utf8_state state;
- int flags;
+ unsigned flags;
wchar_t wch, wch_min;
- int head, tail, back;
+ unsigned head, tail, back;
int buf[8];
} utf8_decoder_t;