aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index 1c54cf0..696c28f 100644
--- a/src/state.c
+++ b/src/state.c
@@ -172,7 +172,7 @@ set_port_value(const char* port_symbol,
ev->index = port->index;
ev->protocol = 0;
ev->size = sizeof(fvalue);
- *(float*)ev->body = fvalue;
+ *(float*)(ev + 1) = fvalue;
zix_ring_write(jalv->plugin_events, buf, sizeof(buf));
}
}