[pango] [HB] Fix Class operator return type



commit 5453f4b097811e31e8205d3729bee1fc97d2e541
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Apr 20 15:52:47 2010 -0400

    [HB] Fix Class operator return type

 pango/opentype/hb-ot-layout-common-private.hh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/opentype/hb-ot-layout-common-private.hh b/pango/opentype/hb-ot-layout-common-private.hh
index 0c0a768..e3171e3 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
   {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]