utf8: use correct type for values in interval table
[gitweb.git] / utf8.c
diff --git a/utf8.c b/utf8.c
index 24c3c5cedd0903193b79ecf714fd3a2583b880ab..a831d5089908df61574119b01a29a1991196f63a 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -5,8 +5,8 @@
 /* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */
 
 struct interval {
-  int first;
-  int last;
+       ucs_char_t first;
+       ucs_char_t last;
 };
 
 size_t display_mode_esc_sequence_len(const char *s)