This commit is contained in:
Behdad Esfahbod 2011-08-26 09:33:06 +02:00
parent 3380de5abb
commit 81ec289da7
1 changed files with 12 additions and 12 deletions

View File

@ -282,7 +282,7 @@ hb_graphite_shape (hb_font_t *font,
clusters = (hb_gr_cluster_t *) calloc (charlen, sizeof (hb_gr_cluster_t));
if (!glyphlen || !clusters) goto dieout;
gids = (unsigned short *) malloc (glyphlen * sizeof (unsigned short));
gids = (uint16_t *) malloc (glyphlen * sizeof (uint16_t));
if (!gids) goto dieout;
pg = gids;