summaryrefslogtreecommitdiffstats
path: root/host/test/ranges_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-14 10:46:05 -0800
committerJosh Blum <josh@joshknows.com>2011-01-14 10:46:05 -0800
commit7121576fff68993fceb5c064d788fa5dcd0aa7e0 (patch)
tree6c06c4583bc22bce1bd1deecbfa5d3e25527d9c2 /host/test/ranges_test.cpp
parent7d64b9f4794013b3a20fb1d79b3805e3bd4f3b35 (diff)
downloaduhd-7121576fff68993fceb5c064d788fa5dcd0aa7e0.tar.gz
uhd-7121576fff68993fceb5c064d788fa5dcd0aa7e0.tar.bz2
uhd-7121576fff68993fceb5c064d788fa5dcd0aa7e0.zip
uhd: tweaks that make macos happy
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);