From 7c54fb5ebe1f71faccc835335fc803be4f85beb5 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 30 Aug 2023 12:37:12 +0200 Subject: [PATCH] iecset: fix the verbose compilation warnings for latest gcc Signed-off-by: Jaroslav Kysela --- iecset/iecset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iecset/iecset.c b/iecset/iecset.c index 35039e1..9b3c1d7 100644 --- a/iecset/iecset.c +++ b/iecset/iecset.c @@ -379,7 +379,7 @@ int main(int argc, char **argv) for (cidx = 0; cidx < controls; cidx++) { if (!strcmp(snd_ctl_elem_list_get_name(clist, cidx), spdif_str)) if (spdif_index < 0 || - snd_ctl_elem_list_get_index(clist, cidx) == spdif_index) + (int)snd_ctl_elem_list_get_index(clist, cidx) == spdif_index) break; } if (cidx >= controls) { -- 2.47.1