DolphinWX: Fix -Wsign-compare warnings.

This commit is contained in:
Rohit Nirmal 2014-10-28 21:03:58 -05:00
parent b70a75776e
commit 55f91ecba4
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ static void UpdateWatchAddr(int count, u32 value)
static void SetWatchName(int count, const std::string value) static void SetWatchName(int count, const std::string value)
{ {
if ((count - 1) < PowerPC::watches.GetWatches().size()) if ((count - 1) < (int)PowerPC::watches.GetWatches().size())
{ {
PowerPC::watches.UpdateName(count - 1, value); PowerPC::watches.UpdateName(count - 1, value);
} }
@ -91,7 +91,7 @@ static wxString GetValueByRowCol(int row, int col)
default: return wxEmptyString; default: return wxEmptyString;
} }
} }
else if (row <= PowerPC::watches.GetWatches().size()) else if (row <= (int)PowerPC::watches.GetWatches().size())
{ {
if (PowerPC::GetState() != PowerPC::CPU_POWERDOWN) if (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)
{ {