summaryrefslogtreecommitdiffstats
path: root/host/test/ranges_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/test/ranges_test.cpp')
-rw-r--r--host/test/ranges_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/test/ranges_test.cpp b/host/test/ranges_test.cpp
index 68c339f41..5f6de4645 100644
--- a/host/test/ranges_test.cpp
+++ b/host/test/ranges_test.cpp
@@ -35,7 +35,7 @@ BOOST_AUTO_TEST_CASE(test_ranges_bounds){
BOOST_CHECK_CLOSE(mr.stop(), 60.0, tolerance);
BOOST_CHECK_CLOSE(mr.step(), 0.1, tolerance);
- BOOST_CHECK_EQUAL(mr.size(), 2);
+ BOOST_CHECK_EQUAL(mr.size(), unsigned(2));
BOOST_CHECK_CLOSE(mr[0].start(), -1.0, tolerance);
BOOST_CHECK_CLOSE(mr[0].stop(), +1.0, tolerance);