mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
fixed unneeded cast.
This commit is contained in:
parent
3cfc064698
commit
5a2c2e0295
1 changed files with 1 additions and 1 deletions
|
|
@ -893,7 +893,7 @@ int _snd_pcm_multi_open(snd_pcm_t **pcmp, const char *name,
|
|||
continue;
|
||||
}
|
||||
if (strcmp(id, "master") == 0) {
|
||||
if (snd_config_get_integer(n, &((long)master_slave)) < 0) {
|
||||
if (snd_config_get_integer(n, &master_slave) < 0) {
|
||||
SNDERR("Invalid type for %s", id);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue