diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2014-11-04 09:22:41 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2014-11-04 09:22:41 +0000 |
commit | ec69a4ece1c1e261e52f0ce29cfcaa0d74d42236 (patch) | |
tree | 2c09423e768d7e2039408f68c96febc77fd85ec7 /llvm/lib/Support/Windows | |
parent | 477a1dce2be06a2c78049e0c76f4eb2455121959 (diff) | |
download | bcm5719-llvm-ec69a4ece1c1e261e52f0ce29cfcaa0d74d42236.tar.gz bcm5719-llvm-ec69a4ece1c1e261e52f0ce29cfcaa0d74d42236.zip |
Fix Visual C++ warning, Program.inc(85): warning C4018: '<' : signed/unsigned mismatch.
llvm-svn: 221252
Diffstat (limited to 'llvm/lib/Support/Windows')
-rw-r--r-- | llvm/lib/Support/Windows/Program.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Program.inc b/llvm/lib/Support/Windows/Program.inc index 942dfda99c9..db20e21ee04 100644 --- a/llvm/lib/Support/Windows/Program.inc +++ b/llvm/lib/Support/Windows/Program.inc @@ -82,7 +82,7 @@ ErrorOr<std::string> 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]; |