diff options
author | Mark Spruiell <mes@zeroc.com> | 2001-12-01 02:45:23 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2001-12-01 02:45:23 +0000 |
commit | 2af74c0da2e7a2e623ba4d7cd423af524044c69d (patch) | |
tree | 16a47e426e008a8b1ea8875631d35bfe37c83d9b /cpp/src/Ice/BasicStream.cpp | |
parent | minor edits (diff) | |
download | ice-2af74c0da2e7a2e623ba4d7cd423af524044c69d.tar.bz2 ice-2af74c0da2e7a2e623ba4d7cd423af524044c69d.tar.xz ice-2af74c0da2e7a2e623ba4d7cd423af524044c69d.zip |
bug fix
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r-- | cpp/src/Ice/BasicStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp index f359c5578dc..e2573e23e0e 100644 --- a/cpp/src/Ice/BasicStream.cpp +++ b/cpp/src/Ice/BasicStream.cpp @@ -380,7 +380,7 @@ IceInternal::BasicStream::write(const vector<Int>& v) p = reinterpret_cast<const Byte*>(v.begin()); for (int j = 0 ; j < sz ; ++j) { - reverse_copy(p, p + sizeof(Short), b.begin() + pos); + reverse_copy(p, p + sizeof(Int), b.begin() + pos); p += sizeof(Int); pos += sizeof(Int); } |