Fix some warnings on Linux

This commit is contained in:
Lioncash
2014-09-21 20:13:22 -04:00
parent 9e2b9e2471
commit 836ff6d506
3 changed files with 3 additions and 6 deletions

View File

@ -215,7 +215,7 @@ void RasterFont::printMultilineText(const std::string& text, double start_x, dou
continue;
}
if ((u32) c < CHAR_OFFSET || (u32) c >= CHAR_COUNT + CHAR_OFFSET)
if (c < CHAR_OFFSET || c >= CHAR_COUNT + CHAR_OFFSET)
continue;
vertices[usage++] = x;