mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
topology: fix some gcc10 warnings (labs, signess)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
dc778bade6
commit
6ca1ddfbcd
2 changed files with 2 additions and 2 deletions
|
|
@ -1363,7 +1363,7 @@ int tplg_decode_control_enum1(snd_tplg_t *tplg,
|
|||
et->texts = tplg_calloc(heap, sizeof(char *) * ec->items);
|
||||
if (!et->texts)
|
||||
return -ENOMEM;
|
||||
for (i = 0; i < ec->items; i++)
|
||||
for (i = 0; (unsigned int)i < ec->items; i++)
|
||||
et->texts[i] = ec->texts[i];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue