mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
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
This commit is contained in:
parent
8f5dab8bb5
commit
3f4bf44b1c
@ -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…
x
Reference in New Issue
Block a user