diff options
Diffstat (limited to 'cpp/src/Ice/TcpTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/TcpTransceiver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/TcpTransceiver.cpp b/cpp/src/Ice/TcpTransceiver.cpp index b98a4f1cd14..6c8cf640dd8 100644 --- a/cpp/src/Ice/TcpTransceiver.cpp +++ b/cpp/src/Ice/TcpTransceiver.cpp @@ -70,7 +70,7 @@ IceInternal::TcpTransceiver::write(Buffer& buf, int timeout) while (buf.i != buf.b.end()) { - int ret = ::send(_fd, buf.i, packetSize, 0); + int ret = ::send(_fd, &*buf.i, packetSize, 0); if (ret == 0) { @@ -169,7 +169,7 @@ IceInternal::TcpTransceiver::read(Buffer& buf, int timeout) while (buf.i != buf.b.end()) { - int ret = ::recv(_fd, buf.i, packetSize, 0); + int ret = ::recv(_fd, &*buf.i, packetSize, 0); if (ret == 0) { |