From 2f8c54a609d778b2f4808f54d4c07b30acccb5a9 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 14 Jul 2015 12:59:33 +0300 Subject: [PATCH] Avoid warning about signed/unsigend mismatch FreeType recently changed some fields in FT_Bitmap to unsigned. --- ttf2png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2