From: Mikko Rasa Date: Tue, 14 Jul 2015 09:59:33 +0000 (+0300) Subject: Avoid warning about signed/unsigend mismatch X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=2f8c54a609d778b2f4808f54d4c07b30acccb5a9;p=ttf2png.git Avoid warning about signed/unsigend mismatch FreeType recently changed some fields in FT_Bitmap to unsigned. --- diff --git a/ttf2png.c b/ttf2png.c index 8fc211e..f8f465f 100644 --- a/ttf2png.c +++ b/ttf2png.c @@ -351,7 +351,7 @@ int init_font(Font *font, FT_Face face, unsigned first, unsigned last, int autoh { unsigned n; FT_Bitmap *bmp = &face->glyph->bitmap; - int x, y; + unsigned x, y; int flags = 0; Glyph *glyph;