diff options
| author | comex <comexk@gmail.com> | 2014-03-27 23:55:30 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-03-30 01:40:11 -0400 |
| commit | 92dd498fa70ea953a62731dfbeb08f89a76bc49a (patch) | |
| tree | 2a8c4d0f78639df250d8376715b5df9f5da8679c /Source/Core/VideoBackends | |
| parent | b5654a2464b02dc0bc8177d75db24236923e6ad2 (diff) | |
Fix harmless warnings.
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; |
