aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-12-23 17:35:14 -0700
committerGitHub <noreply@github.com>2016-12-23 17:35:14 -0700
commitd3f477b351b3d9d70701d19fb13adae6d4fad1f3 (patch)
tree7e99f52d3c278907ffc874b8aba59ec76ff251d2 /toolsrc/src
parent63d3c237c1f7ab75c753ea98a5a1658e08d44fa1 (diff)
parent31d5994dd592422e3daaee325eeae727458c0e09 (diff)
downloadvcpkg-d3f477b351b3d9d70701d19fb13adae6d4fad1f3.tar.gz
vcpkg-d3f477b351b3d9d70701d19fb13adae6d4fad1f3.zip
Merge pull request #450 from nekko1119/patch-1
Fix signed/unsigned mismatch warning
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/vcpkg.cpp2
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);