summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-04-20 15:52:47 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-04-20 15:52:47 -0400
commit5453f4b097811e31e8205d3729bee1fc97d2e541 (patch)
tree98dd3a658f9a1cf799433331e71f4df6a02d0307
parent851f873072b26b32c514c459ba2ca141dd1b79e0 (diff)
downloadpango-5453f4b097811e31e8205d3729bee1fc97d2e541.tar.gz
[HB] Fix Class operator return type
-rw-r--r--pango/opentype/hb-ot-layout-common-private.hh2
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 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
{