mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 14:38:22 +01:00
iecset: fix the verbose compilation warnings for latest gcc
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
10a2557d7e
commit
7c54fb5ebe
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue