diff options
author | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-09-23 15:31:20 +0200 |
---|---|---|
committer | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-10-11 17:09:07 +0200 |
commit | 6ff54b679a829f07bd53b128529b9eaef244988c (patch) | |
tree | 6d456ad7f684d1a03a3ff97f6a44a42bc7d5ecbe /utils.c | |
parent | 587104e6d5dea64e7b1eb2a8687ecbc5bde98c00 (diff) |
utils: index is unsigned type
remove a warning (treated as error) to build correctly.
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); |