diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index 64aa19502..35ddfbe5b 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -85,7 +85,7 @@ struct CFFIndex auto it = hb_iter (_); if (hb_len (it) == 1) { - char *ret = c->allocate_size (1, false); + unsigned char *ret = c->allocate_size (1, false); if (unlikely (!ret)) return_trace (false); *ret = *it; continue;