summaryrefslogtreecommitdiff
path: root/TAO/utils
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2009-06-12 10:27:41 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2009-06-12 10:27:41 +0000
commit1ba907159fbd28f927da777a5309db8ac72c584f (patch)
tree5f25bfaecad19ccd10cc6653124ce7575d60528f /TAO/utils
parenta94102da23bda52d3bad0cb891ebc0f3d9e5fc07 (diff)
downloadATCD-1ba907159fbd28f927da777a5309db8ac72c584f.tar.gz
Fri Jun 12 10:25:58 UTC 2009 Phil Mesnier <mesnier_p@ociweb.com>
* utils/logWalker/Invocation.cpp: HPUX apparently uses something novel for either size_t or ACE_CDR::ULong.
Diffstat (limited to 'TAO/utils')
-rw-r--r--TAO/utils/logWalker/Invocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/utils/logWalker/Invocation.cpp b/TAO/utils/logWalker/Invocation.cpp
index 7f2d57bc6b7..72df2fd7ca7 100644
--- a/TAO/utils/logWalker/Invocation.cpp
+++ b/TAO/utils/logWalker/Invocation.cpp
@@ -233,7 +233,7 @@ Invocation::GIOP_Buffer::actual_req_id(void) const
bo, vmaj, vmin);
ACE_CDR::ULong rid;
cdr >> rid;
- return rid;
+ return static_cast<size_t>(rid);
}
size_t
@@ -261,7 +261,7 @@ Invocation::GIOP_Buffer::target_oid(size_t &len) const
bo, vmaj, vmin);
ACE_CDR::ULong len_ulong;
cdr >> len_ulong;
- len = len_ulong;
+ len = static_cast<size_t>(len_ulong);
if (target_offset + len > this->cur_size())
{
len = 0;