From a7f9723528b5abca50350849d748d0c27e0d1fb7 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 22 Sep 2013 19:06:01 -0700 Subject: [PATCH] Warning fixes. --- Windows/Debugger/CtrlDisAsmView.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Windows/Debugger/CtrlDisAsmView.cpp b/Windows/Debugger/CtrlDisAsmView.cpp index a47b0d052f..9883a08413 100644 --- a/Windows/Debugger/CtrlDisAsmView.cpp +++ b/Windows/Debugger/CtrlDisAsmView.cpp @@ -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; } }