From a87072db5d41e25b2e31191545298bca4838c65c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 20 Apr 2010 15:52:47 -0400 Subject: [PATCH] Fix Class operator return type --- src/hb-ot-layout-common-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index d3c5bef8a..72b50c026 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/hb-ot-layout-common-private.hh @@ -533,7 +533,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 {