From 8af6dd1577cc1424cb91e35bbb12cbf942f422da Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Sat, 10 Sep 2016 16:31:29 +0200 Subject: [PATCH] Attempt to fix size mismatch --- test/testpaint/intercept_2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)