diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:27:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:27:50 +0200 |
commit | 04b9ff9a8842bc23306c38f9bd1af7cd941d0eb8 (patch) | |
tree | 6b0beb6b27ce6b7441d70b5702f6d3dcffbacff2 /sd/source/ui/remotecontrol | |
parent | 9e1e8858d12ab76ce928b1f499e2de210a6e443d (diff) |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Ic77431126be9259bf6381243d1ee682d687c493e
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index b201d9e63d8f..51ea22c892ec 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -568,7 +568,7 @@ void incomingCallback( void *userRefCon, BluetoothServer* pServer = static_cast<BluetoothServer*>(userRefCon); - IOBluetoothRFCOMMChannel* channel = [IOBluetoothRFCOMMChannel withRFCOMMChannelRef:(IOBluetoothRFCOMMChannelRef)objectRef]; + IOBluetoothRFCOMMChannel* channel = [IOBluetoothRFCOMMChannel withRFCOMMChannelRef:reinterpret_cast<IOBluetoothRFCOMMChannelRef>(objectRef)]; OSXBluetoothWrapper* socket = new OSXBluetoothWrapper( channel); Communicator* pCommunicator = new Communicator( socket ); |