mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Reduce compilation warnings
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
edcd677bf2
commit
49dde08641
9 changed files with 7 additions and 20 deletions
|
|
@ -423,7 +423,7 @@ int snd_seq_parse_address(snd_seq_t *seq, snd_seq_addr_t *addr, const char *arg)
|
|||
return -EINVAL;
|
||||
cinfo.client = -1;
|
||||
while (snd_seq_query_next_client(seq, &cinfo) >= 0) {
|
||||
if ((strlen(cinfo.name) == len) &&
|
||||
if ((strlen(cinfo.name) == (size_t)len) &&
|
||||
! strncmp(arg, cinfo.name, len)) {
|
||||
addr->client = cinfo.client;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue