Match the type of `n' to source data type `size_t'.

This commit is contained in:
unknown 2015-11-09 14:41:27 -05:00
parent c33e7e7958
commit 8168dcc42b
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ void CTLB::RecordDifference( CLog &LogFile, const CTLB& rTLB)
bool CTLB::operator == (const CTLB& rTLB) const
{
for (int i = 0, n = sizeof(m_tlb)/sizeof(m_tlb[0]); i < n; i++)
for (size_t i = 0, n = sizeof(m_tlb)/sizeof(m_tlb[0]); i < n; i++)
{
if (m_tlb[i].EntryDefined != rTLB.m_tlb[i].EntryDefined)
{