Fixed warnings about comparison between signed and unsigned integer expressions.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@366 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne
2008-08-27 16:12:05 +00:00
parent 541a86de26
commit e764723832
6 changed files with 10 additions and 10 deletions

View File

@ -67,7 +67,7 @@ void CFileSearch::FindFiles(const std::string& _searchString, const std::string&
}
#else
int dot_pos = _searchString.rfind(".");
size_t dot_pos = _searchString.rfind(".");
if (dot_pos == std::string::npos)
{

View File

@ -234,7 +234,7 @@ CGameListCtrl::InsertItemInReportView(size_t _Index)
item.SetBackgroundColour(color);
DiscIO::IVolume::ECountry Country = rISOFile.GetCountry();
if (Country < m_FlagImageIndex.size())
if (size_t(Country) < m_FlagImageIndex.size())
{
item.SetImage(m_FlagImageIndex[rISOFile.GetCountry()]);
}