summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/BasicStream.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2001-12-01 02:45:23 +0000
committerMark Spruiell <mes@zeroc.com>2001-12-01 02:45:23 +0000
commit2af74c0da2e7a2e623ba4d7cd423af524044c69d (patch)
tree16a47e426e008a8b1ea8875631d35bfe37c83d9b /cpp/src/Ice/BasicStream.cpp
parentminor edits (diff)
downloadice-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.cpp2
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);
}