Fix Visual C++ warning, Program.inc(85): warning C4018: '<' : signed/unsigned mismatch.

llvm-svn: 221252
This commit is contained in:
Yaron Keren 2014-11-04 09:22:41 +00:00
parent 477a1dce2b
commit ec69a4ece1
1 changed files with 1 additions and 1 deletions

View File

@ -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];