core-util: Use size_t for out parameter of pa_split_*in_place()

pa_split_in_place() and pa_split_spaces_in_place() are modifed
to use size_t type instead of integer type.

alsa-ucm.c is revised according to this change.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
This commit is contained in:
Sangchul Lee 2019-03-18 16:47:55 +09:00
parent c235acd787
commit eec27ec686
3 changed files with 6 additions and 6 deletions

View file

@ -801,7 +801,7 @@ static int ucm_port_contains(const char *port_name, const char *dev_name, bool i
int ret = 0;
const char *r;
const char *state = NULL;
int len;
size_t len;
if (!port_name || !dev_name)
return false;