diff options
| author | Alan Conway <aconway@apache.org> | 2007-03-15 19:22:02 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-03-15 19:22:02 +0000 |
| commit | 6bc8ab8e4b209b841969544fc735361335040906 (patch) | |
| tree | 90b8a4b3f0ec4fdf2c3a0ac02b27768b953a3be1 /cpp/tests/QueuePolicyTest.cpp | |
| parent | f92c42ffe7662d1d0e2863c6e143567b25ae2024 (diff) | |
| download | qpid-python-6bc8ab8e4b209b841969544fc735361335040906.tar.gz | |
Changed u_int<n>_t to uint<n>_t for posix compliance.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/QueuePolicyTest.cpp')
| -rw-r--r-- | cpp/tests/QueuePolicyTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/QueuePolicyTest.cpp b/cpp/tests/QueuePolicyTest.cpp index 0ae0d2f7bc..20917dcd6a 100644 --- a/cpp/tests/QueuePolicyTest.cpp +++ b/cpp/tests/QueuePolicyTest.cpp @@ -38,8 +38,8 @@ class QueuePolicyTest : public CppUnit::TestCase QueuePolicy policy(5, 0); CPPUNIT_ASSERT(!policy.limitExceeded()); for (int i = 0; i < 5; i++) policy.enqueued(10); - CPPUNIT_ASSERT_EQUAL((u_int64_t) 0, policy.getMaxSize()); - CPPUNIT_ASSERT_EQUAL((u_int32_t) 5, policy.getMaxCount()); + CPPUNIT_ASSERT_EQUAL((uint64_t) 0, policy.getMaxSize()); + CPPUNIT_ASSERT_EQUAL((uint32_t) 5, policy.getMaxCount()); CPPUNIT_ASSERT(!policy.limitExceeded()); policy.enqueued(10); CPPUNIT_ASSERT(policy.limitExceeded()); |
