Kaydet (Commit) 99f7aacd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

external/harfbuzz: -fsanitize=function

Change-Id: Ie72eec98f1337e895b81c4ebebeefa4861a5a6a1
üst 6694ce6b
......@@ -9,6 +9,17 @@
}
};
@@ -394,8 +394,9 @@
}
static void
-_hb_ot_font_destroy (hb_ot_font_t *ot_font)
+_hb_ot_font_destroy (void *ot_font_)
{
+ hb_ot_font_t *ot_font = static_cast<hb_ot_font_t *>(ot_font_);
ot_font->cmap.fini ();
ot_font->h_metrics.fini ();
ot_font->v_metrics.fini ();
--- src/hb-ot-map-private.hh
+++ src/hb-ot-map-private.hh
@@ -52,8 +52,11 @@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment