Skip to content
Permalink
Browse files

TOOLS: Fix compiler warning in create_sjisfnt with recent FreeType2 h…

…eaders.
  • Loading branch information...
lordhoto committed Nov 23, 2015
1 parent ddec903 commit 425af256599fcbc4c7774d1b4306215e9f8e629c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 425af25

Please sign in to comment.
You can’t perform that action at this time.