Fix harmless warnings.
This commit is contained in:
parent
b5654a2464
commit
92dd498fa7
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue