Fix sign-difference compare warning

This commit is contained in:
Behdad Esfahbod 2017-08-04 14:13:56 +01:00
parent 9bb36b42c9
commit 484cb300ea
1 changed files with 3 additions and 1 deletions

View File

@ -1164,7 +1164,6 @@ FcFreeTypeQueryFace (const FT_Face face,
int weight = -1;
int width = -1;
FcBool decorative = FcFalse;
int i;
FcCharSet *cs;
FcLangSet *ls;
#if 0
@ -1529,6 +1528,7 @@ FcFreeTypeQueryFace (const FT_Face face,
tmp = FT_Get_Postscript_Name (face);
if (!tmp)
{
unsigned int i;
FcChar8 *family, *familylang = NULL;
size_t len;
int n = 0;
@ -1606,6 +1606,7 @@ FcFreeTypeQueryFace (const FT_Face face,
if (os2 && os2->version >= 0x0001 && os2->version != 0xffff)
{
unsigned int i;
for (i = 0; i < NUM_CODE_PAGE_RANGE; i++)
{
FT_ULong bits;
@ -1920,6 +1921,7 @@ FcFreeTypeQueryFace (const FT_Face face,
if (!(face->face_flags & FT_FACE_FLAG_SCALABLE))
{
int i;
for (i = 0; i < face->num_fixed_sizes; i++)
if (!FcPatternAddDouble (pat, FC_PIXEL_SIZE,
FcGetPixelSize (face, i)))