diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-05-23 17:07:37 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-05-23 17:07:37 +0000 |
commit | 937250e9b33c2dd63cd344e1c37dd9c0df106aef (patch) | |
tree | bd7161a9a9ed5a512e7b3ddbba3dfc603356c6dd /cpp/src/Ice/Connection.cpp | |
parent | static string arrays must be final (diff) | |
download | ice-937250e9b33c2dd63cd344e1c37dd9c0df106aef.tar.bz2 ice-937250e9b33c2dd63cd344e1c37dd9c0df106aef.tar.xz ice-937250e9b33c2dd63cd344e1c37dd9c0df106aef.zip |
Fixed Sun warnings
Diffstat (limited to 'cpp/src/Ice/Connection.cpp')
-rw-r--r-- | cpp/src/Ice/Connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp index 8776d260c92..4fa1d81b8e2 100644 --- a/cpp/src/Ice/Connection.cpp +++ b/cpp/src/Ice/Connection.cpp @@ -533,7 +533,7 @@ IceInternal::Connection::sendAsyncRequest(const OutgoingAsyncPtr& out) // No compression, just fill in the message size. // Int sz = static_cast<Int>(os->b.size()); - const Byte* p = reinterpret_cast<const Byte*>(&sz); + p = reinterpret_cast<const Byte*>(&sz); #ifdef ICE_BIG_ENDIAN reverse_copy(p, p + sizeof(Int), os->b.begin() + 10); #else |