add const to spa_event and spa_command

This commit is contained in:
Wim Taymans 2019-05-28 13:51:12 +02:00
parent 4661ee882c
commit 5299677f88
10 changed files with 11 additions and 11 deletions

View file

@ -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;