From 5453f4b097811e31e8205d3729bee1fc97d2e541 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 20 Apr 2010 15:52:47 -0400 Subject: [HB] Fix Class operator return type --- pango/opentype/hb-ot-layout-common-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pango/opentype/hb-ot-layout-common-private.hh b/pango/opentype/hb-ot-layout-common-private.hh index 0c0a768e..e3171e36 100644 --- a/pango/opentype/hb-ot-layout-common-private.hh +++ b/pango/opentype/hb-ot-layout-common-private.hh @@ -528,7 +528,7 @@ ASSERT_SIZE (ClassDefFormat2, 4); struct ClassDef { - inline unsigned int operator() (hb_codepoint_t glyph_id) const { return get_class (glyph_id); } + inline hb_ot_layout_class_t operator() (hb_codepoint_t glyph_id) const { return get_class (glyph_id); } inline hb_ot_layout_class_t get_class (hb_codepoint_t glyph_id) const { -- cgit v1.2.1