From 70ea4ac6887c7057113d714a98e55738b6196562 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 25 Sep 2012 12:30:16 -0400 Subject: [PATCH] Slightly optimize UTF-8 parsing --- src/hb-utf-private.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-utf-private.hh b/src/hb-utf-private.hh index f89aa23..a77139f 100644 --- a/src/hb-utf-private.hh +++ b/src/hb-utf-private.hh @@ -44,8 +44,8 @@ hb_utf_next (const uint8_t *text, const uint8_t *end, hb_codepoint_t *unicode) { - uint8_t c = *text; - unsigned int mask, len; + hb_codepoint_t c = *text, mask; + unsigned int len; /* TODO check for overlong sequences? */ -- 2.7.4