Merge pull request #1868 from rohit-n/sign-compare

Fix -Wsign-compare warnings.
This commit is contained in:
Ryan Houdek 2015-01-11 07:08:55 -06:00
commit 074f246c69
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ enum TLBLookupResult
static __forceinline TLBLookupResult LookupTLBPageAddress(const XCheckTLBFlag flag, const u32 vpa, u32 *paddr)
{
int tag = vpa >> HW_PAGE_INDEX_SHIFT;
u32 tag = vpa >> HW_PAGE_INDEX_SHIFT;
PowerPC::tlb_entry *tlbe = &PowerPC::ppcState.tlb[flag == FLAG_OPCODE][tag & HW_PAGE_INDEX_MASK];
if (tlbe->tag[0] == tag)
{