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

@ -1186,7 +1186,7 @@ static int node_demarshal_send_command(void *object, const struct pw_protocol_na
{
struct pw_resource *resource = object;
struct spa_pod_parser prs;
struct spa_command *command;
const struct spa_command *command;
spa_pod_parser_init(&prs, msg->data, msg->size);
if (spa_pod_parser_get_struct(&prs,