summaryrefslogtreecommitdiff
path: root/TAO/tao/Service_Context.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-06-02 07:38:06 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-06-02 07:38:06 +0000
commit2f07894e38530ebc50073fc738c6f38f428cb9d4 (patch)
tree5d66542032fa0d8a6e6477f5044d305055fced07 /TAO/tao/Service_Context.cpp
parent26aef7fbb583ca26865956ce365312e536ea4997 (diff)
downloadATCD-2f07894e38530ebc50073fc738c6f38f428cb9d4.tar.gz
ChangeLogTag:Wed Jun 2 00:37:17 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Service_Context.cpp')
-rw-r--r--TAO/tao/Service_Context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Service_Context.cpp b/TAO/tao/Service_Context.cpp
index a81e7076a56..b2708c3f4ce 100644
--- a/TAO/tao/Service_Context.cpp
+++ b/TAO/tao/Service_Context.cpp
@@ -24,7 +24,7 @@ TAO_Service_Context::set_context_i (IOP::ServiceId id,
// Make a *copy* of the CDR stream...
size_t length = cdr.total_length ();
- context.context_data.length (ACE_static_cast (CORBA::ULong, length));
+ context.context_data.length (static_cast<CORBA::ULong> (length));
CORBA::Octet *buf = context.context_data.get_buffer ();
for (const ACE_Message_Block *i = cdr.begin ();
@@ -44,7 +44,7 @@ TAO_Service_Context::set_context_i (IOP::ServiceContext &context,
{
// Make a *copy* of the CDR stream...
size_t length = cdr.total_length ();
- context.context_data.length (ACE_static_cast (CORBA::ULong, length));
+ context.context_data.length (static_cast<CORBA::ULong> (length));
CORBA::Octet *buf = context.context_data.get_buffer ();
for (const ACE_Message_Block *i = cdr.begin ();