summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-08-04 12:13:52 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-08-04 12:13:52 -0400
commitff0047094bbea056c99c9b500c10234b579ff0ba (patch)
treebd7fb0c82a3ab8ed2de43c377aad71e6acab149e
parent7d0dc6328b60b9a1244dca21d1bc2ffe7411f5d3 (diff)
downloadpango-ff0047094bbea056c99c9b500c10234b579ff0ba.tar.gz
[HB] More casts
-rw-r--r--pango/opentype/hb-ot-layout-gsub-private.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/hb-ot-layout-gsub-private.hh b/pango/opentype/hb-ot-layout-gsub-private.hh
index c3fca5b4..09b17aff 100644
--- a/pango/opentype/hb-ot-layout-gsub-private.hh
+++ b/pango/opentype/hb-ot-layout-gsub-private.hh
@@ -842,7 +842,7 @@ struct GSUB : GSUBGPOS
inline bool sanitize (SANITIZE_ARG_DEF) {
if (GSUBGPOS::sanitize (SANITIZE_ARG)) return false;
- OffsetTo<SubstLookupList> &list = (OffsetTo<SubstLookupList> &) lookupList;
+ OffsetTo<SubstLookupList> &list = CAST(OffsetTo<SubstLookupList>, lookupList, 0);
return SANITIZE_THIS (list);
}
};