mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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:
@ -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)
|
||||
{
|
||||
|
@ -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()]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user