diff --git a/test/testpaint/intercept_2.cpp b/test/testpaint/intercept_2.cpp index f819fba888..8cf07d323e 100644 --- a/test/testpaint/intercept_2.cpp +++ b/test/testpaint/intercept_2.cpp @@ -127,7 +127,7 @@ namespace Intercept2 static bool SegmentCallEquals(std::vector lhs, std::vector rhs) { if (lhs.size() != rhs.size()) return false; - for (int i = 0; i < lhs.size(); ++i) { + for (size_t i = 0; i < lhs.size(); ++i) { if (lhs[i].segments != rhs[i].segments) return false; if (lhs[i].height != rhs[i].height)