mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue