From 6ff54b679a829f07bd53b128529b9eaef244988c Mon Sep 17 00:00:00 2001 From: Yannick Gicquel Date: Fri, 23 Sep 2016 15:31:20 +0200 Subject: utils: index is unsigned type remove a warning (treated as error) to build correctly. Signed-off-by: Yannick Gicquel --- utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index 6e18f83..6b29d8d 100644 --- a/utils.c +++ b/utils.c @@ -223,7 +223,7 @@ pa_sink *agl_utils_get_primary_alsa_sink (struct userdata *u) { pa_core *core; pa_sink *sink; - int idx; + uint32_t idx; pa_assert (u); pa_assert_se ((core = u->core)); @@ -240,7 +240,7 @@ pa_sink *agl_utils_get_alsa_sink (struct userdata *u, const char *name) { pa_core *core; pa_sink *sink; - int idx; + uint32_t idx; pa_assert (u); pa_assert_se ((core = u->core)); -- cgit 1.2.3-korg