[subset/cff] Minor signedness change

This commit is contained in:
Behdad Esfahbod 2023-06-04 15:12:56 -06:00
parent 887f299351
commit 6188a3f5a4

View file

@ -85,7 +85,7 @@ struct CFFIndex
auto it = hb_iter (_);
if (hb_len (it) == 1)
{
char *ret = c->allocate_size<char> (1, false);
unsigned char *ret = c->allocate_size<unsigned char> (1, false);
if (unlikely (!ret)) return_trace (false);
*ret = *it;
continue;