diff options
Diffstat (limited to 'sd/source/ui/remotecontrol/BluetoothServer.cxx')
-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 ); |