From 6bc8ab8e4b209b841969544fc735361335040906 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 15 Mar 2007 19:22:02 +0000 Subject: Changed u_int_t to uint_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 --- cpp/lib/client/ClientChannel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/lib/client/ClientChannel.cpp') diff --git a/cpp/lib/client/ClientChannel.cpp b/cpp/lib/client/ClientChannel.cpp index 24f21d1a30..84aa73e6bc 100644 --- a/cpp/lib/client/ClientChannel.cpp +++ b/cpp/lib/client/ClientChannel.cpp @@ -36,7 +36,7 @@ using namespace qpid::client; using namespace qpid::framing; using namespace qpid::sys; -Channel::Channel(bool _transactional, u_int16_t _prefetch) : +Channel::Channel(bool _transactional, uint16_t _prefetch) : basic(*this), connection(0), prefetch(_prefetch), @@ -87,7 +87,7 @@ void Channel::protocolInit( version, responses.getRequestId(), proposal->getChannelMax(), connection->getMaxFrameSize(), proposal->getHeartbeat())); - u_int16_t heartbeat = proposal->getHeartbeat(); + uint16_t heartbeat = proposal->getHeartbeat(); connection->connector->setReadTimeout(heartbeat * 2); connection->connector->setWriteTimeout(heartbeat); @@ -119,7 +119,7 @@ void Channel::setQos() { // FIXME aconway 2007-02-22: message } -void Channel::setPrefetch(u_int16_t _prefetch){ +void Channel::setPrefetch(uint16_t _prefetch){ prefetch = _prefetch; setQos(); } @@ -243,7 +243,7 @@ void Channel::start(){ // Close called by local application. void Channel::close( - u_int16_t code, const std::string& text, + uint16_t code, const std::string& text, ClassId classId, MethodId methodId) { if (isOpen()) { -- cgit v1.2.1