Fix harmless warnings.

This commit is contained in:
comex committed 2014-03-30 01:40:11 -04:00
1 parent b5654a2464
commit 92dd498fa7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -899,7 +899,7 @@ void CISOProperties::OnExtractDataFromHeader(wxCommandEvent& event)
if (DiscIO::IsVolumeWiiDisc(OpenISO)) if (DiscIO::IsVolumeWiiDisc(OpenISO))
{ {
wxString Directory = m_Treectrl->GetItemText(m_Treectrl->GetSelection()); 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) if (WiiDisc.size() > partitionNum)
{ {
+1 -1
View File
@@ -213,7 +213,7 @@ void RasterFont::printMultilineText(const std::string& text, double start_x, dou
continue; continue;
} }
if (c < char_offset || c >= char_count+char_offset) if ((u32) c < char_offset || (u32) c >= char_count+char_offset)
continue; continue;
vertices[usage++] = x; vertices[usage++] = x;