summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/broker/BrokerChannel.cpp
diff options
context:
space:
mode:
authorSteven Shaw <steshaw@apache.org>2006-12-08 11:30:55 +0000
committerSteven Shaw <steshaw@apache.org>2006-12-08 11:30:55 +0000
commit9620a901962039367ceae4fd28ca72f8eeb0805e (patch)
treeca51c0f52b412aed21c7a0c024b36a3f2482109a /qpid/cpp/lib/broker/BrokerChannel.cpp
parent9d841041a44a05da7bc8cc692a3831038dfb1a54 (diff)
downloadqpid-python-9620a901962039367ceae4fd28ca72f8eeb0805e.tar.gz
Thanks Alan the static_cast does prevent the warning on rhel4/x86_64
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@483943 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/BrokerChannel.cpp')
-rw-r--r--qpid/cpp/lib/broker/BrokerChannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/lib/broker/BrokerChannel.cpp b/qpid/cpp/lib/broker/BrokerChannel.cpp
index 9bbdcabfc9..e5b8336b25 100644
--- a/qpid/cpp/lib/broker/BrokerChannel.cpp
+++ b/qpid/cpp/lib/broker/BrokerChannel.cpp
@@ -204,7 +204,7 @@ void Channel::ack(u_int64_t deliveryTag, bool multiple){
throw InvalidAckException();
}else if(multiple){
ack_iterator end = ++i;
- for_each(unacked.begin(), end, bind2nd(mem_fun_ref(&DeliveryRecord::discard), 0));
+ for_each(unacked.begin(), end, bind2nd(mem_fun_ref(&DeliveryRecord::discard), static_cast<qpid::broker::TransactionContext*>(0)));
unacked.erase(unacked.begin(), end);
//recalculate the prefetch: