summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-03-27 23:55:30 -0400
committercomex <comexk@gmail.com>2014-03-30 01:40:11 -0400
commit92dd498fa70ea953a62731dfbeb08f89a76bc49a (patch)
tree2a8c4d0f78639df250d8376715b5df9f5da8679c /Source/Core
parentb5654a2464b02dc0bc8177d75db24236923e6ad2 (diff)
Fix harmless warnings.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/ISOProperties.cpp2
-rw-r--r--Source/Core/VideoBackends/OGL/RasterFont.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/ISOProperties.cpp b/Source/Core/DolphinWX/ISOProperties.cpp
index f3076c56f0..decbb3927c 100644
--- a/Source/Core/DolphinWX/ISOProperties.cpp
+++ b/Source/Core/DolphinWX/ISOProperties.cpp
@@ -899,7 +899,7 @@ void CISOProperties::OnExtractDataFromHeader(wxCommandEvent& event)
if (DiscIO::IsVolumeWiiDisc(OpenISO))
{
wxString Directory = m_Treectrl->GetItemText(m_Treectrl->GetSelection());
- int partitionNum = wxAtoi(Directory.Mid(Directory.find_first_of("0123456789"), 2));
+ unsigned int partitionNum = wxAtoi(Directory.Mid(Directory.find_first_of("0123456789"), 2));
if (WiiDisc.size() > partitionNum)
{
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;