mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-03 11:17:58 +02:00
ft: fix warning
This commit is contained in:
parent
b0d9b4ce53
commit
497258a4cf
1 changed files with 1 additions and 1 deletions
|
|
@ -2493,7 +2493,7 @@ _cairo_index_to_glyph_name (void *abstract_font,
|
|||
* we fall back to searching the entire array.
|
||||
*/
|
||||
|
||||
if (glyph_index < num_glyph_names &&
|
||||
if ((long)glyph_index < num_glyph_names &&
|
||||
strcmp (glyph_names[glyph_index], buffer) == 0)
|
||||
{
|
||||
*glyph_array_index = glyph_index;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue