summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutputStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/OutputStream.cpp')
-rw-r--r--cpp/src/Ice/OutputStream.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/OutputStream.cpp b/cpp/src/Ice/OutputStream.cpp
index 74295648081..8adf90577ad 100644
--- a/cpp/src/Ice/OutputStream.cpp
+++ b/cpp/src/Ice/OutputStream.cpp
@@ -662,9 +662,9 @@ Ice::OutputStream::write(const string* begin, const string* end, bool convert)
writeSize(sz);
if(sz > 0)
{
- for(int i = 0; i < sz; ++i)
+ for(int j = 0; j < sz; ++j)
{
- write(begin[i], convert);
+ write(begin[j], convert);
}
}
}
@@ -757,9 +757,9 @@ Ice::OutputStream::write(const wstring* begin, const wstring* end)
writeSize(sz);
if(sz > 0)
{
- for(int i = 0; i < sz; ++i)
+ for(int j = 0; j < sz; ++j)
{
- write(begin[i]);
+ write(begin[j]);
}
}
}