summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Outgoing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r--cpp/src/Ice/Outgoing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp
index 647dab515dc..6daf8ae2c16 100644
--- a/cpp/src/Ice/Outgoing.cpp
+++ b/cpp/src/Ice/Outgoing.cpp
@@ -66,7 +66,7 @@ IceInternal::Outgoing::Outgoing(const ConnectionPtr& connection, const Reference
_os.write(_reference->facet);
_os.write(operation);
_os.write(nonmutating);
- _os.write(Int(context.size()));
+ _os.writeSize(Int(context.size()));
Context::const_iterator p;
for (p = context.begin(); p != context.end(); ++p)
{