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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/GIOP_Message_Base.cpp b/TAO/tao/GIOP_Message_Base.cpp
index 58f848df66c..bae56ecbf68 100644
--- a/TAO/tao/GIOP_Message_Base.cpp
+++ b/TAO/tao/GIOP_Message_Base.cpp
@@ -687,8 +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",
- static_cast<int> (transport->id ()));
+ ACE_OS::sprintf (buf, "Transport[" ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "] recv",
+ 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),
@@ -802,8 +802,8 @@ TAO_GIOP_Message_Base::process_reply_message (
if (TAO_debug_level > 9)
{
char buf[48];
- ACE_OS::sprintf (buf, "Transport[%d] recv",
- static_cast<int> (params.transport_->id ()));
+ ACE_OS::sprintf (buf, "Transport[" ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "] recv",
+ 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);