utf8: use correct type for values in interval table

We treat these as unsigned everywhere and compare against unsigned values, so declare them using the typedef we already have for this. While we're here, fix the indentation as well. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

John Keeping committed Feb 16, 2014 at 16:06 UTC a68a67dea399f15305b059aa36c007cfdde2890e
1 file changed +2 -2
utf8.c
+2 -2
@@ -5,8 +5,8 @@
5 /* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */
6
7 struct interval {
8 - int first;
9 - int last;
8 + ucs_char_t first;
9 + ucs_char_t last;
10 };
11
12 size_t display_mode_esc_sequence_len(const char *s)