summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/GIOP_Message_Base.cpp')
-rw-r--r--TAO/tao/GIOP_Message_Base.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tao/GIOP_Message_Base.cpp b/TAO/tao/GIOP_Message_Base.cpp
index ae1928bdd76..58f848df66c 100644
--- a/TAO/tao/GIOP_Message_Base.cpp
+++ b/TAO/tao/GIOP_Message_Base.cpp
@@ -687,7 +687,8 @@ TAO_GIOP_Message_Base::process_request_message (TAO_Transport *transport,
if (TAO_debug_level > 9)
{
char buf[48];
- ACE_OS::sprintf (buf, "Transport[%d] recv", transport->id ());
+ ACE_OS::sprintf (buf, "Transport[%d] recv",
+ static_cast<int> (transport->id ()));
//due to alignment data block has an offset which needs to be corrected
this->dump_msg (buf,
reinterpret_cast <u_char *> (db->base () + rd_pos - TAO_GIOP_MESSAGE_HEADER_LEN),
@@ -801,7 +802,8 @@ TAO_GIOP_Message_Base::process_reply_message (
if (TAO_debug_level > 9)
{
char buf[48];
- ACE_OS::sprintf (buf, "Transport[%d] recv", params.transport_->id ());
+ ACE_OS::sprintf (buf, "Transport[%d] recv",
+ static_cast<int> (params.transport_->id ()));
this->dump_msg (buf,
reinterpret_cast <u_char *> (db->base () + rd_pos - TAO_GIOP_MESSAGE_HEADER_LEN),
db->size () + rd_pos - TAO_GIOP_MESSAGE_HEADER_LEN);