summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYannick Gicquel <yannick.gicquel@iot.bzh>2016-09-23 15:31:20 +0200
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-10-11 17:09:07 +0200
commit6ff54b679a829f07bd53b128529b9eaef244988c (patch)
tree6d456ad7f684d1a03a3ff97f6a44a42bc7d5ecbe
parent587104e6d5dea64e7b1eb2a8687ecbc5bde98c00 (diff)
utils: index is unsigned type
remove a warning (treated as error) to build correctly. Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
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));