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:
Tom A. Wagner 2023-08-09 11:20:36 +02:00 committed by Wim Taymans
parent f5d1d7e683
commit 7b40ca4f27

View file

@ -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 };