[graphite2] Fix warning

This commit is contained in:
Behdad Esfahbod 2017-08-13 15:10:26 -07:00
parent 239119a631
commit 219af509ef
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan,
float yscale = (float) font->y_scale / upem;
yscale *= yscale / xscale;
/* Positioning. */
int currclus = -1;
unsigned int currclus = (unsigned int) -1;
const hb_glyph_info_t *info = buffer->info;
hb_glyph_position_t *pPos = hb_buffer_get_glyph_positions (buffer, NULL);
if (!HB_DIRECTION_IS_BACKWARD(buffer->props.direction))