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

@ -264,7 +264,7 @@ static void change_item(struct pw_spa_monitor *this, struct spa_pod *item, uint6
}
}
static int on_monitor_event(void *data, struct spa_event *event)
static int on_monitor_event(void *data, const struct spa_event *event)
{
struct impl *impl = data;
struct pw_spa_monitor *this = &impl->this;