From ec69a4ece1c1e261e52f0ce29cfcaa0d74d42236 Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Tue, 4 Nov 2014 09:22:41 +0000 Subject: [PATCH] Fix Visual C++ warning, Program.inc(85): warning C4018: '<' : signed/unsigned mismatch. llvm-svn: 221252 --- llvm/lib/Support/Windows/Program.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Support/Windows/Program.inc b/llvm/lib/Support/Windows/Program.inc index 942dfda..db20e21 100644 --- a/llvm/lib/Support/Windows/Program.inc +++ b/llvm/lib/Support/Windows/Program.inc @@ -82,7 +82,7 @@ ErrorOr sys::findProgramByName(StringRef Name, std::u16string PathStorage; if (!Paths.empty()) { PathStorage.reserve(Paths.size() * MAX_PATH); - for (int i = 0; i < Paths.size(); ++i) { + for (unsigned i = 0; i < Paths.size(); ++i) { if (i) PathStorage.push_back(';'); StringRef P = Paths[i]; -- 2.7.4