[Libreoffice-commits] .: sd/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Aug 23 01:21:07 PDT 2012
sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6737f12e0a4a10a591dcc780de586f205e094f2f
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Thu Aug 23 11:12:37 2012 +0300
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
Change-Id: Ia7e0a436d462fc98b458f80f2abae409419c11c1
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
index 0733db4..d35b606 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 )
More information about the Libreoffice-commits
mailing list