aboutsummaryrefslogtreecommitdiff
path: root/wtf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'wtf8.c')
-rw-r--r--wtf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wtf8.c b/wtf8.c
index 68de1ca..09cb9b3 100644
--- a/wtf8.c
+++ b/wtf8.c
@@ -4,7 +4,7 @@
* Check if first two bits of the character are "10", meaning it's a UTF-8
* continuation character
*/
-int is_utf8_cont(char c) {
+int is_utf8_cont(unsigned char c) {
return (c & 0xC0) == 0x80;
}