add some padding and fix types

This commit is contained in:
Wim Taymans 2019-01-16 17:37:58 +01:00
parent cb346c0745
commit 92e9d99d0a
4 changed files with 13 additions and 9 deletions

View file

@ -375,7 +375,7 @@ pw_protocol_native_connection_begin_resource(struct pw_protocol_native_connectio
impl->dest_id = resource->id;
impl->opcode = opcode;
impl->builder = (struct spa_pod_builder) { NULL, 0, write_pod };
impl->builder = (struct spa_pod_builder) { NULL, 0, 0, write_pod };
return &impl->builder;
}
@ -389,7 +389,7 @@ pw_protocol_native_connection_begin_proxy(struct pw_protocol_native_connection *
impl->dest_id = proxy->id;
impl->opcode = opcode;
impl->builder = (struct spa_pod_builder) { NULL, 0, write_pod, };
impl->builder = (struct spa_pod_builder) { NULL, 0, 0, write_pod, };
return &impl->builder;
}