aboutsummaryrefslogtreecommitdiffstats
path: root/src/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/control.c')
-rw-r--r--src/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control.c b/src/control.c
index 573836a..3a0a0a0 100644
--- a/src/control.c
+++ b/src/control.c
@@ -115,7 +115,7 @@ new_property_control(Jalv* jalv, const LilvNode* property)
void
add_control(Controls* controls, ControlID* control)
{
- controls->controls = realloc(
+ controls->controls = (ControlID**)realloc(
controls->controls, (controls->n_controls + 1) * sizeof(ControlID*));
controls->controls[controls->n_controls++] = control;
}