forked from OSchip/llvm-project
Fix Visual C++ warning, Program.inc(85): warning C4018: '<' : signed/unsigned mismatch.
llvm-svn: 221252
This commit is contained in:
parent
477a1dce2b
commit
ec69a4ece1
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue