mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
compile before committing ... add extra cast required to silence compiler
This commit is contained in:
parent
616f53b997
commit
3fb8f9e0ac
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ wiimote_control_protocol_mesg_callback (cwiid_wiimote_t *wiimote, int mesg_count
|
|||
{
|
||||
DEBUG_TRACE (DEBUG::WiimoteControl, "WiimoteControlProtocol::mesg_callback init\n");
|
||||
|
||||
WiimoteControlProtocol *protocol = const_cast<WiimoteControlProtocol *> (cwiid_get_data (wiimote));
|
||||
WiimoteControlProtocol *protocol = const_cast<WiimoteControlProtocol *> (reinterpret_cast<const WiimoteControlProtocol*> (cwiid_get_data (wiimote)));
|
||||
|
||||
if (protocol) {
|
||||
protocol->wiimote_callback (mesg_count, mesg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue