summaryrefslogtreecommitdiff
path: root/ace/CDR_Stream.cpp
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-04 08:38:38 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-04-04 08:38:38 +0000
commit1427f2f0d3ddda055166979be623f1d26c95626a (patch)
tree3e7a65fe4354b33521975cec78d26210f488a200 /ace/CDR_Stream.cpp
parentd6a0f33e2924696eab8597fc64dc36e435894551 (diff)
downloadATCD-1427f2f0d3ddda055166979be623f1d26c95626a.tar.gz
ChangeLogTag:Thu Apr 4 08:32:26 UTC 2002 Don Hinton <dhinton@ieee.org>
Diffstat (limited to 'ace/CDR_Stream.cpp')
-rw-r--r--ace/CDR_Stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/CDR_Stream.cpp b/ace/CDR_Stream.cpp
index 77804aa92a8..e5dbdec4ba0 100644
--- a/ace/CDR_Stream.cpp
+++ b/ace/CDR_Stream.cpp
@@ -21,7 +21,7 @@ ACE_OutputCDR::ACE_OutputCDR (size_t size,
size_t memcpy_tradeoff,
ACE_CDR::Octet major_version,
ACE_CDR::Octet minor_version)
- : start_ (size ? size : ACE_CDR::DEFAULT_BUFSIZE + ACE_CDR::MAX_ALIGNMENT,
+ : start_ ((size ? size : (size_t) ACE_CDR::DEFAULT_BUFSIZE) + ACE_CDR::MAX_ALIGNMENT,
ACE_Message_Block::MB_DATA,
0,
0,