[HB] Fix Class operator return type
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 20 Apr 2010 19:52:47 +0000 (15:52 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 20 Apr 2010 19:52:47 +0000 (15:52 -0400)
pango/opentype/hb-ot-layout-common-private.hh

index 0c0a768..e3171e3 100644 (file)
@@ -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
   {