[pango/harfbuzz-ng: 46/57] [HB] More casts
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango/harfbuzz-ng: 46/57] [HB] More casts
- Date: Tue, 4 Aug 2009 20:05:13 +0000 (UTC)
commit ff0047094bbea056c99c9b500c10234b579ff0ba
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue Aug 4 12:13:52 2009 -0400
[HB] More casts
pango/opentype/hb-ot-layout-gsub-private.hh | 2 +-
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 c3fca5b..09b17af 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);
}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]