mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
enable more warnings
Fix some warnings
This commit is contained in:
parent
edd019d539
commit
7a29c15628
4 changed files with 26 additions and 7 deletions
|
|
@ -563,7 +563,7 @@ spa_pod_builder_addv(struct spa_pod_builder *builder, va_list args)
|
|||
{
|
||||
int res = 0;
|
||||
struct spa_pod_frame *f = builder->state.frame;
|
||||
uint32_t ftype = f ? f->pod.type : SPA_TYPE_None;
|
||||
uint32_t ftype = f ? f->pod.type : (uint32_t)SPA_TYPE_None;
|
||||
|
||||
do {
|
||||
const char *format;
|
||||
|
|
|
|||
|
|
@ -445,7 +445,7 @@ do { \
|
|||
static inline int spa_pod_parser_getv(struct spa_pod_parser *parser, va_list args)
|
||||
{
|
||||
struct spa_pod_frame *f = parser->state.frame;
|
||||
uint32_t ftype = f ? f->pod.type : SPA_TYPE_Struct;
|
||||
uint32_t ftype = f ? f->pod.type : (uint32_t)SPA_TYPE_Struct;
|
||||
const struct spa_pod_prop *prop = NULL;
|
||||
int count = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue