From 1b38b4e817d871b9549be65af6030bd0eea7f775 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 4 Sep 2012 18:17:21 -0400 Subject: [PATCH] Minor --- src/hb-ot-layout-gsub-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index 890e9c886..2ab54e448 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -75,7 +75,7 @@ struct SingleSubstFormat1 inline bool serialize (hb_serialize_context_t *c, const USHORT *glyphs, unsigned int num_glyphs, - unsigned int delta) + int delta) { TRACE_SERIALIZE (); if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false); @@ -208,7 +208,7 @@ struct SingleSubst TRACE_SERIALIZE (); if (unlikely (!c->extend_min (u.format))) return TRACE_RETURN (false); unsigned int format = 2; - unsigned int delta; + int delta; if (num_glyphs) { format = 1; /* TODO(serialize) check for wrap-around */