diff options
author | Gordon Sim <gsim@apache.org> | 2012-08-15 13:50:11 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2012-08-15 13:50:11 +0000 |
commit | f15b1410976cdfe041a8d08ce7796866e3e3161b (patch) | |
tree | 807cc9145a64524af1def14863d8b90ab9765dcb /qpid/cpp/src | |
parent | 2d5ae769abdabb3ef5fa6ccd57d354bba387bd14 (diff) | |
download | qpid-python-f15b1410976cdfe041a8d08ce7796866e3e3161b.tar.gz |
QPID-4178: Mark literals as unsigned ints
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373409 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r-- | qpid/cpp/src/tests/QueueDepth.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/qpid/cpp/src/tests/QueueDepth.cpp b/qpid/cpp/src/tests/QueueDepth.cpp index 73556141ca..09b221b3a8 100644 --- a/qpid/cpp/src/tests/QueueDepth.cpp +++ b/qpid/cpp/src/tests/QueueDepth.cpp @@ -65,8 +65,8 @@ QPID_AUTO_TEST_CASE(testIncrement) QueueDepth c(8, 16); a += b; BOOST_CHECK(a == c); - BOOST_CHECK_EQUAL(8, a.getCount()); - BOOST_CHECK_EQUAL(16, a.getSize()); + BOOST_CHECK_EQUAL(8u, a.getCount()); + BOOST_CHECK_EQUAL(16u, a.getSize()); } QPID_AUTO_TEST_CASE(testDecrement) @@ -76,8 +76,8 @@ QPID_AUTO_TEST_CASE(testDecrement) QueueDepth c(2, 4); a -= b; BOOST_CHECK(a == c); - BOOST_CHECK_EQUAL(2, a.getCount()); - BOOST_CHECK_EQUAL(4, a.getSize()); + BOOST_CHECK_EQUAL(2u, a.getCount()); + BOOST_CHECK_EQUAL(4u, a.getSize()); } QPID_AUTO_TEST_CASE(testAddition) @@ -86,8 +86,8 @@ QPID_AUTO_TEST_CASE(testAddition) QueueDepth b(3, 6); QueueDepth c = a + b; - BOOST_CHECK_EQUAL(8, c.getCount()); - BOOST_CHECK_EQUAL(16, c.getSize()); + BOOST_CHECK_EQUAL(8u, c.getCount()); + BOOST_CHECK_EQUAL(16u, c.getSize()); } QPID_AUTO_TEST_CASE(testSubtraction) @@ -96,8 +96,8 @@ QPID_AUTO_TEST_CASE(testSubtraction) QueueDepth b(3, 6); QueueDepth c = a - b; - BOOST_CHECK_EQUAL(2, c.getCount()); - BOOST_CHECK_EQUAL(4, c.getSize()); + BOOST_CHECK_EQUAL(2u, c.getCount()); + BOOST_CHECK_EQUAL(4u, c.getSize()); } QPID_AUTO_TEST_SUITE_END() |