]> git.alsa-project.org Git - alsa-lib.git/commitdiff
fixed unneeded cast.
authorTakashi Iwai <tiwai@suse.de>
Fri, 21 May 2004 15:10:58 +0000 (15:10 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 May 2004 15:10:58 +0000 (15:10 +0000)
src/pcm/pcm_multi.c

index ea5b0633584567c7bde89d25f046a2e625f36dfb..b23b28617f752f0328cbe6d7466e9043423a5f34 100644 (file)
@@ -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;
                        }