summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/MessageDelivery.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-07-29 20:26:46 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-07-29 20:26:46 +0000
commit5c49bab054b72ee8ce73b376786f48bbaacc1a8b (patch)
tree1b30782fa08eb395f4c284a68721922e8ab3787f /cpp/src/qpid/broker/MessageDelivery.cpp
parent14744b26e039cf25368872a244e575ee04d0d30f (diff)
downloadqpid-python-5c49bab054b72ee8ce73b376786f48bbaacc1a8b.tar.gz
QPID-1198 (Partial): replace all uses of u_intX_t with uintX_t
Patches from Manuel Teira. The u_int* versions are not available in the Sun header files. In any case using only uint* is more consistent git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680828 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/MessageDelivery.cpp')
-rw-r--r--cpp/src/qpid/broker/MessageDelivery.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/MessageDelivery.cpp b/cpp/src/qpid/broker/MessageDelivery.cpp
index f2a55e2790..a757d191e7 100644
--- a/cpp/src/qpid/broker/MessageDelivery.cpp
+++ b/cpp/src/qpid/broker/MessageDelivery.cpp
@@ -43,11 +43,11 @@ struct BaseToken : DeliveryToken
struct MessageDeliveryToken : BaseToken
{
const std::string destination;
- const u_int8_t confirmMode;
- const u_int8_t acquireMode;
+ const uint8_t confirmMode;
+ const uint8_t acquireMode;
const bool isPreview;
- MessageDeliveryToken(const std::string& d, u_int8_t c, u_int8_t a, bool p) :
+ MessageDeliveryToken(const std::string& d, uint8_t c, uint8_t a, bool p) :
destination(d), confirmMode(c), acquireMode(a), isPreview(p) {}
AMQFrame sendMethod(intrusive_ptr<Message> msg, DeliveryId /*id*/)
@@ -65,7 +65,7 @@ struct MessageDeliveryToken : BaseToken
}
DeliveryToken::shared_ptr MessageDelivery::getMessageDeliveryToken(const std::string& destination,
- u_int8_t confirmMode, u_int8_t acquireMode)
+ uint8_t confirmMode, uint8_t acquireMode)
{
return DeliveryToken::shared_ptr(new MessageDeliveryToken(destination, confirmMode, acquireMode, false));
}