From 3f4bf44b1c2e130f27323524ef636415d6c3786e 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221252 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Windows/Program.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/Windows/Program.inc b/lib/Support/Windows/Program.inc index 942dfda99c9..db20e21ee04 100644 --- a/lib/Support/Windows/Program.inc +++ b/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.11.0