diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2003-04-30 12:31:02 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2003-04-30 12:31:02 +0000 |
commit | 6a49e64da69c48aa6ce7c306a5ae84f319e7eea0 (patch) | |
tree | 0918899fe823d8adb5a86c5db91f4bf8e43a1086 /TAO/tao/Service_Context.cpp | |
parent | f23636bb09a053f540647572b790d7c7ceae437d (diff) | |
download | ATCD-6a49e64da69c48aa6ce7c306a5ae84f319e7eea0.tar.gz |
ChangeLogTag: Wed Apr 30 07:26:37 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/Service_Context.cpp')
-rw-r--r-- | TAO/tao/Service_Context.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Service_Context.cpp b/TAO/tao/Service_Context.cpp index b465179d743..2842980d90b 100644 --- a/TAO/tao/Service_Context.cpp +++ b/TAO/tao/Service_Context.cpp @@ -19,8 +19,8 @@ TAO_Service_Context::set_context_i (IOP::ServiceId id, context.context_id = id; // Make a *copy* of the CDR stream... - CORBA::ULong length = cdr.total_length (); - context.context_data.length (length); + size_t length = cdr.total_length (); + context.context_data.length (ACE_static_cast (CORBA::ULong, length)); CORBA::Octet *buf = context.context_data.get_buffer (); for (const ACE_Message_Block *i = cdr.begin (); @@ -40,8 +40,8 @@ TAO_Service_Context::set_context_i (IOP::ServiceContext &context, TAO_OutputCDR &cdr) { // Make a *copy* of the CDR stream... - CORBA::ULong length = cdr.total_length (); - context.context_data.length (length); + size_t length = cdr.total_length (); + context.context_data.length (ACE_static_cast (CORBA::ULong, length)); CORBA::Octet *buf = context.context_data.get_buffer (); for (const ACE_Message_Block *i = cdr.begin (); |