diff --git a/src/hb-machinery-private.hh b/src/hb-machinery-private.hh index a179eea9c..99ef485a3 100644 --- a/src/hb-machinery-private.hh +++ b/src/hb-machinery-private.hh @@ -597,7 +597,7 @@ struct hb_data_wrapper_t inline Data * get_data (void) const { - return *(((Data **) this) - WheresData); + return *(((Data **) (void *) this) - WheresData); } template