From e7672655d3305898aec32bbf740752dcfffe3d7c Mon Sep 17 00:00:00 2001 From: pal1000 Date: Mon, 6 Jan 2014 10:48:52 +0200 Subject: [PATCH] Fix warning in MIPS/MIPSAnalyst.cpp --- Core/MIPS/MIPSAnalyst.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/MIPS/MIPSAnalyst.cpp b/Core/MIPS/MIPSAnalyst.cpp index c7baca51fe..d8437d06b9 100644 --- a/Core/MIPS/MIPSAnalyst.cpp +++ b/Core/MIPS/MIPSAnalyst.cpp @@ -17,7 +17,6 @@ #include #include - #include "ext/cityhash/city.h" #include "Common/FileUtil.h" #include "Core/Config.h" @@ -580,7 +579,7 @@ skip: // Yay, found a function. - for (int i = 0; i < iter->second.size(); i++) { + for (unsigned int i = 0; i < iter->second.size(); i++) { AnalyzedFunction &f = *(iter->second[i]); if (f.hash == mf->hash && f.size == mf->size) { strncpy(f.name, mf->name, sizeof(mf->name) - 1);