Kaydet (Commit) b2ba3992 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Blind fix for non-standard send(2) signature on Windows

Change-Id: I0cff8d60aea0d9d0f41209ea04380259142ed607
üst a95f6340
......@@ -56,7 +56,14 @@ sal_Int32 BufferedStreamSocket::write( const void* pBuffer, sal_uInt32 n )
if ( !usingCSocket )
return StreamSocket::write( pBuffer, n );
else
return ::send( mSocket, pBuffer, (size_t) n, 0 );
return ::send(
mSocket,
#if defined WNT
static_cast<char *>(pBuffer),
#else
pBuffer,
#endif
(size_t) n, 0 );
}
void BufferedStreamSocket::close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment