Skip to content

Commit

Permalink
TOOLS: Fix compiler warning in create_sjisfnt with recent FreeType2 h…
Browse files Browse the repository at this point in the history
…eaders.
  • Loading branch information
Johannes Schickel committed Nov 23, 2015
1 parent ddec903 commit 425af25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_sjisfnt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 425af25

Please sign in to comment.