Fix harmless warnings.

This commit is contained in:
comex 2014-03-27 23:55:30 -04:00
parent b5654a2464
commit 92dd498fa7
2 changed files with 2 additions and 2 deletions

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)
{ {

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;