From: Abramo Bagnara Date: Wed, 6 Jun 2001 14:20:29 +0000 (+0000) Subject: Fixed pointer mismatch X-Git-Tag: v1.0.3~823 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=3f0a94ed909437eeed95f742414e006affe21b39;p=alsa-lib.git Fixed pointer mismatch --- diff --git a/src/pcm/pcm_share.c b/src/pcm/pcm_share.c index d6a1a1b7..0cf08bd5 100644 --- a/src/pcm/pcm_share.c +++ b/src/pcm/pcm_share.c @@ -1434,7 +1434,7 @@ int _snd_pcm_share_open(snd_pcm_t **pcmp, const char *name, snd_config_t *conf, return -EINVAL; } snd_config_for_each(i, next, bindings) { - int cchannel = -1; + long cchannel = -1; snd_config_t *n = snd_config_iterator_entry(i); const char *id = snd_config_get_id(n); err = safe_strtol(id, &cchannel);