diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-01 13:04:10 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-01 13:04:10 -0700 |
| commit | 53d5076f64daa08c18802fda1b7bf8e100109103 (patch) | |
| tree | e2058641b5d605120683c4ae88920339993a0b08 /toolsrc/src/tests_package_spec.cpp | |
| parent | 9569e69b7cd1e2a1ba36edd0c8ca52544d470d17 (diff) | |
| download | vcpkg-53d5076f64daa08c18802fda1b7bf8e100109103.tar.gz vcpkg-53d5076f64daa08c18802fda1b7bf8e100109103.zip | |
size_t instead of int
Diffstat (limited to 'toolsrc/src/tests_package_spec.cpp')
| -rw-r--r-- | toolsrc/src/tests_package_spec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/tests_package_spec.cpp b/toolsrc/src/tests_package_spec.cpp index fa201b372..a6b9d5b13 100644 --- a/toolsrc/src/tests_package_spec.cpp +++ b/toolsrc/src/tests_package_spec.cpp @@ -43,7 +43,7 @@ namespace UnitTest1 std::array<const char*, 6> features = {"", "0", "1", "", "2", "3"}; std::array<PackageSpec*, 6> specs = {&a_spec, &a_spec, &a_spec, &b_spec, &b_spec, &b_spec}; - for (int i = 0; i < features.size(); ++i) + for (size_t i = 0; i < features.size(); ++i) { Assert::AreEqual(features[i], fspecs[i].feature().c_str()); Assert::AreEqual(*specs[i], fspecs[i].spec()); |
