[HB] Fix fatal Sanitizer bug

pull/1/head
Behdad Esfahbod 16 years ago
parent 2870ac5e5d
commit 8cd6fa28d1
  1. 2
      src/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) {

Loading…
Cancel
Save