diff --git a/src/modules/module-profiler.c b/src/modules/module-profiler.c index a994d1ff0..490e031af 100644 --- a/src/modules/module-profiler.c +++ b/src/modules/module-profiler.c @@ -269,7 +269,7 @@ done: n->count++; } -static struct pw_impl_node_rt_events node_rt_events = { +static const struct pw_impl_node_rt_events node_rt_events = { PW_VERSION_IMPL_NODE_RT_EVENTS, .complete = context_do_profile, .incomplete = context_do_profile,