nhlt-dmic-info: fix the verbose compilation warnings for latest gcc

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2023-08-30 13:01:59 +02:00
parent d7bbc26d6e
commit b7d73a4611

View file

@ -344,7 +344,7 @@ int main(int argc, char *argv[])
free(long_option); free(long_option);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
for (i = j = k = 0; i < ARRAY_SIZE(args); i++) { for (i = j = k = 0; i < (int)ARRAY_SIZE(args); i++) {
a = &args[i]; a = &args[i];
if ((a->sarg & 0xff) == 0) if ((a->sarg & 0xff) == 0)
continue; continue;