summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-08-23 11:12:37 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-08-23 11:18:09 +0300
commit6737f12e0a4a10a591dcc780de586f205e094f2f (patch)
tree14882667d4cd1896e0f87e1bfd09c66f8c452ccd
parentc564fdfe298d8f93e3f09f61dc01a152f57b6506 (diff)
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
Change-Id: Ia7e0a436d462fc98b458f80f2abae409419c11c1
-rw-r--r--sd/source/ui/remotecontrol/BufferedStreamSocket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
index 0733db44acc8..d35b6065523d 100644
--- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
+++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
@@ -52,7 +52,7 @@ 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, (const char *) pBuffer, (size_t) n, 0 );
}
sal_Int32 BufferedStreamSocket::readLine( OString& aLine )