mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-15 04:12:29 +00:00
pod: Fix spa_pod_builder_control() return type
Fixes the return type of spa_pod_builder_control() from uint32_t to int. Since the function returns the int returned by spa_pod_builder_raw, the return type of the function should also be an int.
This commit is contained in:
parent
f5d1d7e683
commit
7b40ca4f27
|
@ -441,7 +441,7 @@ spa_pod_builder_push_sequence(struct spa_pod_builder *builder, struct spa_pod_fr
|
|||
return res;
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
static inline int
|
||||
spa_pod_builder_control(struct spa_pod_builder *builder, uint32_t offset, uint32_t type)
|
||||
{
|
||||
const struct { uint32_t offset; uint32_t type; } p = { offset, type };
|
||||
|
|
Loading…
Reference in a new issue