diff options
Diffstat (limited to 'Source/Core/VideoBackends')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/RasterFont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/RasterFont.cpp b/Source/Core/VideoBackends/OGL/RasterFont.cpp index eb288d9414..8e6ad2d6c8 100644 --- a/Source/Core/VideoBackends/OGL/RasterFont.cpp +++ b/Source/Core/VideoBackends/OGL/RasterFont.cpp @@ -213,7 +213,7 @@ void RasterFont::printMultilineText(const std::string& text, double start_x, dou continue; } - if (c < char_offset || c >= char_count+char_offset) + if ((u32) c < char_offset || (u32) c >= char_count+char_offset) continue; vertices[usage++] = x; |
