summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-04 23:37:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 09:10:04 +0100
commitac16358c2afe36babcc64ea59ea44d42dc65fe5b (patch)
tree8f6c1b88b38a1301f0d4a3167bb4f32e04ee2a60 /include/osl
parenteeaf8026e1df9dd22c7f85058e602d1450a41355 (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Iaadb8aef9e10b378fca844fa323e0a1ae369d31c
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/socket.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osl/socket.hxx b/include/osl/socket.hxx
index 716f0256c52d..b8557efc0e69 100644
--- a/include/osl/socket.hxx
+++ b/include/osl/socket.hxx
@@ -502,7 +502,8 @@ namespace osl
StreamSocket& Connection, SocketAddr & PeerAddr)
{
// TODO change in/OUT parameter
- oslSocket o = osl_acceptConnectionOnSocket( m_handle, (oslSocketAddr *)&PeerAddr );
+ oslSocket o = osl_acceptConnectionOnSocket(
+ m_handle, reinterpret_cast<oslSocketAddr *>(&PeerAddr));
oslSocketResult status = osl_Socket_Ok;
if( o )
{