diff options
| author | nekko1119 <taku50501119@gmail.com> | 2016-12-24 05:27:22 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-24 05:27:22 +0900 |
| commit | 31d5994dd592422e3daaee325eeae727458c0e09 (patch) | |
| tree | 7e99f52d3c278907ffc874b8aba59ec76ff251d2 | |
| parent | 63d3c237c1f7ab75c753ea98a5a1658e08d44fa1 (diff) | |
| download | vcpkg-31d5994dd592422e3daaee325eeae727458c0e09.tar.gz vcpkg-31d5994dd592422e3daaee325eeae727458c0e09.zip | |
Fix signed/unsigned mismatch warning
| -rw-r--r-- | toolsrc/src/vcpkg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg.cpp b/toolsrc/src/vcpkg.cpp index 6858d5518..4748aeb54 100644 --- a/toolsrc/src/vcpkg.cpp +++ b/toolsrc/src/vcpkg.cpp @@ -134,7 +134,7 @@ static void upgrade_to_slash_terminated_sorted_format(std::vector<std::string>* // (They are not necessarily sorted alphabetically, e.g. libflac) // Therefore we can detect the entries that represent directories by comparing every element with the next one // and checking if the next has a slash immediately after the current one's length - for (int i = 0; i < lines->size() - 1; i++) + for (size_t i = 0; i < lines->size() - 1; i++) { std::string& current_string = lines->at(i); const std::string& next_string = lines->at(i + 1); |
