diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-12-21 16:18:55 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-12-21 16:18:55 +0000 |
commit | 0ab0da2bb30decf8585be6ad3855b213051f1d3c (patch) | |
tree | 7d809a3597cbbb94f4cad2a0c6adae2d11de85b6 /ace/CDR_Stream.cpp | |
parent | c0ecdfdd198c0deeb47f7c9d53e27c4c1292ccfc (diff) | |
download | ATCD-0ab0da2bb30decf8585be6ad3855b213051f1d3c.tar.gz |
ChangeLogTag: Wed Dec 21 16:14:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
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 9a091f4f3fb..f0277500a8f 100644 --- a/ace/CDR_Stream.cpp +++ b/ace/CDR_Stream.cpp @@ -173,7 +173,7 @@ ACE_OutputCDR::grow_and_adjust (size_t size, ptrdiff_t(tmp->rd_ptr ()) % ACE_CDR::MAX_ALIGNMENT; ptrdiff_t curalign = ptrdiff_t(this->current_alignment_) % ACE_CDR::MAX_ALIGNMENT; - int offset = curalign - tmpalign; + long offset = curalign - tmpalign; if (offset < 0) offset += ACE_CDR::MAX_ALIGNMENT; tmp->rd_ptr (offset); |