mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +01:00
fix const cast warning from compiler
This commit is contained in:
parent
589820ea8d
commit
f2a48b93a3
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 = (WiimoteControlProtocol *)cwiid_get_data (wiimote);
|
||||
WiimoteControlProtocol *protocol = const_cast<WiimoteControlProtocol *> (cwiid_get_data (wiimote));
|
||||
|
||||
if (protocol) {
|
||||
protocol->wiimote_callback (mesg_count, mesg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue