summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ConnectionI.cpp')
-rw-r--r--cpp/src/Ice/ConnectionI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp
index 86da0b44186..647d4bec834 100644
--- a/cpp/src/Ice/ConnectionI.cpp
+++ b/cpp/src/Ice/ConnectionI.cpp
@@ -967,11 +967,11 @@ Ice::ConnectionI::flushBatchRequests()
// No compression, just fill in the message size.
//
Int sz = static_cast<Int>(_batchStream.b.size());
- const Byte* p = reinterpret_cast<const Byte*>(&sz);
+ const Byte* q = reinterpret_cast<const Byte*>(&sz);
#ifdef ICE_BIG_ENDIAN
- reverse_copy(p, p + sizeof(Int), _batchStream.b.begin() + 10);
+ reverse_copy(q, q + sizeof(Int), _batchStream.b.begin() + 10);
#else
- copy(p, p + sizeof(Int), _batchStream.b.begin() + 10);
+ copy(q, q + sizeof(Int), _batchStream.b.begin() + 10);
#endif
//