summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Connection.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2006-03-01 05:33:01 +0000
committerMatthew Newhook <matthew@zeroc.com>2006-03-01 05:33:01 +0000
commit7a1ff2de080be938577417f9b64f9a7245d7c2a7 (patch)
treef8d29ce7d332ef6de327e2031b131e8e5a5c1ff2 /cppe/src/IceE/Connection.cpp
parentAdded missing run.py. (diff)
downloadice-7a1ff2de080be938577417f9b64f9a7245d7c2a7.tar.bz2
ice-7a1ff2de080be938577417f9b64f9a7245d7c2a7.tar.xz
ice-7a1ff2de080be938577417f9b64f9a7245d7c2a7.zip
fix Darwin build.
Diffstat (limited to 'cppe/src/IceE/Connection.cpp')
-rwxr-xr-xcppe/src/IceE/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppe/src/IceE/Connection.cpp b/cppe/src/IceE/Connection.cpp
index 9dbfbde9092..f2878204a81 100755
--- a/cppe/src/IceE/Connection.cpp
+++ b/cppe/src/IceE/Connection.cpp
@@ -627,7 +627,7 @@ Ice::Connection::flushBatchRequests()
//
Byte* dest = &(_batchStream.b[0]) + headerSize;
#ifdef ICE_BIG_ENDIAN
- Byte* src = reinterpret_cast<const Byte*>(&_batchRequestNum) + sizeof(Ice::Int) - 1;
+ const Byte* src = reinterpret_cast<const Byte*>(&_batchRequestNum) + sizeof(Ice::Int) - 1;
*dest++ = *src--;
*dest++ = *src--;
*dest++ = *src--;