summaryrefslogtreecommitdiff
path: root/cpp/tests/EventChannelConnectionTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-15 19:22:02 +0000
committerAlan Conway <aconway@apache.org>2007-03-15 19:22:02 +0000
commit6bc8ab8e4b209b841969544fc735361335040906 (patch)
tree90b8a4b3f0ec4fdf2c3a0ac02b27768b953a3be1 /cpp/tests/EventChannelConnectionTest.cpp
parentf92c42ffe7662d1d0e2863c6e143567b25ae2024 (diff)
downloadqpid-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/EventChannelConnectionTest.cpp')
-rw-r--r--cpp/tests/EventChannelConnectionTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/EventChannelConnectionTest.cpp b/cpp/tests/EventChannelConnectionTest.cpp
index 5e94b07dbd..66561daf83 100644
--- a/cpp/tests/EventChannelConnectionTest.cpp
+++ b/cpp/tests/EventChannelConnectionTest.cpp
@@ -74,8 +74,8 @@ class EventChannelConnectionTest : public CppUnit::TestCase
// Send a heartbeat frame, verify connection got it.
connection->send(new AMQFrame(42, new AMQHeartbeatBody()));
AMQFrame frame = factory.handler->waitForFrame();
- CPPUNIT_ASSERT_EQUAL(u_int16_t(42), frame.getChannel());
- CPPUNIT_ASSERT_EQUAL(u_int8_t(HEARTBEAT_BODY),
+ CPPUNIT_ASSERT_EQUAL(uint16_t(42), frame.getChannel());
+ CPPUNIT_ASSERT_EQUAL(uint8_t(HEARTBEAT_BODY),
frame.getBody()->type());
threads->shutdown();
}