protocol: we need to read Fd into int64_t

This commit is contained in:
Wim Taymans 2019-08-20 10:50:56 +02:00
parent 4b202b9656
commit d00c641559
2 changed files with 10 additions and 6 deletions

View file

@ -339,7 +339,8 @@ static int core_event_demarshal_add_mem(void *object, const struct pw_protocol_n
{
struct pw_proxy *proxy = object;
struct spa_pod_parser prs;
uint32_t id, type, idx, flags;
uint32_t id, type, flags;
int64_t idx;
int fd;
spa_pod_parser_init(&prs, msg->data, msg->size);