summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pcm/pcm_multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/pcm_multi.c b/src/pcm/pcm_multi.c
index ea5b0633..b23b2861 100644
--- a/src/pcm/pcm_multi.c
+++ b/src/pcm/pcm_multi.c
@@ -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;
}