summaryrefslogtreecommitdiff
path: root/src/modules/module-client-node/client-node.c
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2019-05-28 13:51:12 +0200
committerWim Taymans <wtaymans@redhat.com>2019-05-28 13:51:12 +0200
commit5299677f8826d05cc700711154aff12d848afbd0 (patch)
treee3c6cb438132ff85f5b9ec0f1fbd3cd3cadbbb91 /src/modules/module-client-node/client-node.c
parent4661ee882cd3e1ab3fd86d9b65ad7604b6b2f567 (diff)
add const to spa_event and spa_command
Diffstat (limited to 'src/modules/module-client-node/client-node.c')
-rw-r--r--src/modules/module-client-node/client-node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-client-node/client-node.c b/src/modules/module-client-node/client-node.c
index c8db04b5..bc2f59a0 100644
--- a/src/modules/module-client-node/client-node.c
+++ b/src/modules/module-client-node/client-node.c
@@ -1089,7 +1089,7 @@ static int client_node_set_active(void *data, bool active)
return pw_node_set_active(impl->this.node, active);
}
-static int client_node_event(void *data, struct spa_event *event)
+static int client_node_event(void *data, const struct spa_event *event)
{
struct impl *impl = data;
struct node *this = &impl->node;