mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Fixed pointer mismatch
This commit is contained in:
parent
f563268fac
commit
3f0a94ed90
1 changed files with 1 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@ int _snd_pcm_share_open(snd_pcm_t **pcmp, const char *name, snd_config_t *conf,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
snd_config_for_each(i, next, bindings) {
|
snd_config_for_each(i, next, bindings) {
|
||||||
int cchannel = -1;
|
long cchannel = -1;
|
||||||
snd_config_t *n = snd_config_iterator_entry(i);
|
snd_config_t *n = snd_config_iterator_entry(i);
|
||||||
const char *id = snd_config_get_id(n);
|
const char *id = snd_config_get_id(n);
|
||||||
err = safe_strtol(id, &cchannel);
|
err = safe_strtol(id, &cchannel);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue