diff options
author | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-03-07 16:20:38 +0000 |
---|---|---|
committer | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-03-07 16:20:38 +0000 |
commit | db047885e63c13aca71c273a6f1758d5017fcc07 (patch) | |
tree | b876b96486a2ef0fedfde859a053fdc2de33a5b5 /TAO/tao/GIOP_Message_Base.cpp | |
parent | 1694202b986e227a9ec7bb414a41c9d16428ba5a (diff) | |
download | ATCD-db047885e63c13aca71c273a6f1758d5017fcc07.tar.gz |
Mon Mar 7 16:19:40 UTC 2011 Vladimir Zykov <vladimir.zykov@prismtech.com>
* orbsvcs/orbsvcs/PortableGroup/UIPMC_Profile.cpp:
* tao/GIOP_Message_Base.cpp:
* TAO_IDL/be/be_visitor_arg_traits.cpp:
* TAO_IDL/be/be_codegen.cpp:
* TAO_IDL/be/be_helper.cpp:
* TAO_IDL/be/be_visitor_array/array_ci.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be_include/be_helper.h:
Fixed warnings from incorrect use of printf format.
Diffstat (limited to 'TAO/tao/GIOP_Message_Base.cpp')
-rw-r--r-- | TAO/tao/GIOP_Message_Base.cpp | 6 |
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); |