Merge pull request #1142 from lioncash/linucks

Fix some warnings on Linux
This commit is contained in:
skidau
2014-09-23 13:43:18 +10:00
3 changed files with 3 additions and 6 deletions

View File

@ -216,7 +216,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;