]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed pointer mismatch
authorAbramo Bagnara <abramo@alsa-project.org>
Wed, 6 Jun 2001 14:20:29 +0000 (14:20 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Wed, 6 Jun 2001 14:20:29 +0000 (14:20 +0000)
src/pcm/pcm_share.c

index d6a1a1b737d71d765e775048b68da0d9f0e699e5..0cf08bd5b550238a5458ad4e5c0d24ea4d1f6fdb 100644 (file)
@@ -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);