projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5dab8
)
Fix Visual C++ warning, Program.inc(85): warning C4018: '<' : signed/unsigned mismatch.
author
Yaron Keren
<yaron.keren@gmail.com>
Tue, 4 Nov 2014 09:22:41 +0000
(09:22 +0000)
committer
Yaron Keren
<yaron.keren@gmail.com>
Tue, 4 Nov 2014 09:22:41 +0000
(09:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221252
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Windows/Program.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/Program.inc
b/lib/Support/Windows/Program.inc
index 942dfda99c9841811a0bbf6ef64b9f780694423a..db20e21ee048f95999b5f632516baf661aa91f2b 100644
(file)
--- a/
lib/Support/Windows/Program.inc
+++ b/
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];