diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-04 08:38:38 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-04-04 08:38:38 +0000 |
commit | 1427f2f0d3ddda055166979be623f1d26c95626a (patch) | |
tree | 3e7a65fe4354b33521975cec78d26210f488a200 /ace/CDR_Stream.cpp | |
parent | d6a0f33e2924696eab8597fc64dc36e435894551 (diff) | |
download | ATCD-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.cpp | 2 |
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, |