diff --git a/spa/include/spa/pod/parser.h b/spa/include/spa/pod/parser.h index 8e1ada087..7c7cc64a9 100644 --- a/spa/include/spa/pod/parser.h +++ b/spa/include/spa/pod/parser.h @@ -295,7 +295,7 @@ static inline int spa_pod_parser_getv(struct spa_pod_parser *parser, return 0; } -static inline int spa_pod_parser_get(struct spa_pod_parser *parser, +static inline SPA_SENTINEL int spa_pod_parser_get(struct spa_pod_parser *parser, const char *format, ...) { int res; diff --git a/spa/tests/test-props2.c b/spa/tests/test-props2.c index 692b95c52..e2f4e02af 100644 --- a/spa/tests/test-props2.c +++ b/spa/tests/test-props2.c @@ -110,7 +110,7 @@ int main(int argc, char *argv[]) "s", &vs, "R", &vr, "F", &vfr, - "P", &va, 0); + "P", &va, NULL); printf("%u %lu %f %g %s %ux%u %u/%u\n", vi, vl, vf, vd, vs, vr.width, vr.height, vfr.num, vfr.denom);