aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uxd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uxd.c b/uxd.c
index 0e461e0..e32356b 100644
--- a/uxd.c
+++ b/uxd.c
@@ -556,8 +556,8 @@ int is_overlong(int cont_count, unsigned char *b) {
/* U+10FFFF is the last valid codepoint. It encodes to f4 8f bf bf.
'count' is the count of continuation bytes only (so, 3 for a 4-byte
sqeuence). */
-int is_out_of_range(int count, unsigned char *b) {
- if(count < 3) return 0;
+int is_out_of_range(int cont_count, unsigned char *b) {
+ if(cont_count < 3) return 0;
if(b[0] < 0xf4) return 0;
if(b[1] < 0x90) return 0;
return 1;