From 425af256599fcbc4c7774d1b4306215e9f8e629c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 23 Nov 2015 02:18:17 +0100 Subject: [PATCH] TOOLS: Fix compiler warning in create_sjisfnt with recent FreeType2 headers. --- create_sjisfnt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_sjisfnt.cpp b/create_sjisfnt.cpp index bd31acc7..9c411f3e 100644 --- a/create_sjisfnt.cpp +++ b/create_sjisfnt.cpp @@ -450,7 +450,7 @@ bool TrueTypeFont::renderGlyph(uint32 unicode, Glyph &glyph) { if (glyph.pitch < 0) dst += (glyph.height - 1) * (-glyph.pitch); - for (int i = 0; i < bitmap.rows; ++i) { + for (int i = 0; i < (int)bitmap.rows; ++i) { memcpy(dst, src, abs(glyph.pitch)); src += bitmap.pitch; dst += glyph.pitch;