summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-open-type-private.hh
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/hb-open-type-private.hh')
-rw-r--r--pango/opentype/hb-open-type-private.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/hb-open-type-private.hh b/pango/opentype/hb-open-type-private.hh
index a51b91e7..d11f3510 100644
--- a/pango/opentype/hb-open-type-private.hh
+++ b/pango/opentype/hb-open-type-private.hh
@@ -293,7 +293,7 @@ struct Sanitizer
retry:
_hb_sanitize_init (&context, blob);
- Type *t = &CAST (Type, context.start, 0);
+ Type *t = &CAST (Type, *DECONST_CHARP(context.start), 0);
sane = t->sanitize (SANITIZE_ARG_INIT);
if (sane) {