From 31d5994dd592422e3daaee325eeae727458c0e09 Mon Sep 17 00:00:00 2001 From: nekko1119 Date: Sat, 24 Dec 2016 05:27:22 +0900 Subject: Fix signed/unsigned mismatch warning --- toolsrc/src/vcpkg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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* // (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); -- cgit v1.2.3