summaryrefslogtreecommitdiff
path: root/cpp/tests/EventChannelConnectionTest.cpp
diff options
context:
space:
mode:
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();
}