From: Yannick Gicquel Date: Fri, 23 Sep 2016 13:31:20 +0000 (+0200) Subject: utils: index is unsigned type X-Git-Tag: eel_4.99.3~7 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2Fagl-audio-plugin.git;a=commitdiff_plain;h=6ff54b679a829f07bd53b128529b9eaef244988c utils: index is unsigned type remove a warning (treated as error) to build correctly. Signed-off-by: Yannick Gicquel --- 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));