summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/surfaces/osc/osc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc
index ae96774a52..7c46f5bf6c 100644
--- a/libs/surfaces/osc/osc.cc
+++ b/libs/surfaces/osc/osc.cc
@@ -1378,7 +1378,7 @@ OSC::custom_clear (lo_message msg)
int
OSC::custom_mode (float state, lo_message msg)
{
- return _custom_mode ((OSCCustomMode) state, get_address (msg));
+ return _custom_mode ((OSCCustomMode) (int)state, get_address (msg));
}
int