Warning fixes.

This commit is contained in:
Unknown W. Brackets 2013-09-22 19:06:01 -07:00
parent d38916dea7
commit a7f9723528

View file

@ -100,7 +100,7 @@ void CtrlDisAsmView::scanFunctions()
lanes[i].used = false;
for (int funcPos = info.address; funcPos < funcEnd; funcPos += instructionSize)
for (u32 funcPos = info.address; funcPos < funcEnd; funcPos += instructionSize)
{
MIPSAnalyst::MipsOpcodeInfo opInfo = MIPSAnalyst::GetOpcodeInfo(debugger,funcPos);
@ -133,11 +133,11 @@ void CtrlDisAsmView::scanFunctions()
}
int lane = -1;
for (int i = 0; i < NUM_LANES; i++)
for (int l = 0; l < NUM_LANES; l++)
{
if (lanes[i].used == false)
if (lanes[l].used == false)
{
lane = i;
lane = l;
break;
}
}
@ -193,11 +193,11 @@ void CtrlDisAsmView::scanFunctions()
}
int lane = -1;
for (int i = 0; i < NUM_LANES; i++)
for (int l = 0; l < NUM_LANES; l++)
{
if (lanes[i].used == false)
if (lanes[l].used == false)
{
lane = i;
lane = l;
break;
}
}