From 7c5c3ff3dea22c048a872e8c2f34b830159cbf36 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 10 Aug 2012 14:19:17 +0200 Subject: [PATCH] ucm: Add const to execute_cset() argument Now with the previous rewrite of execute_cset(), the cset string is no longer modified, thus we can pass const safely. Signed-off-by: Takashi Iwai --- src/ucm/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ucm/main.c b/src/ucm/main.c index bd5c3481..0d7d8414 100644 --- a/src/ucm/main.c +++ b/src/ucm/main.c @@ -163,7 +163,7 @@ extern int __snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst, const char *str, const char **ret_ptr); -static int execute_cset(snd_ctl_t *ctl, char *cset) +static int execute_cset(snd_ctl_t *ctl, const char *cset) { const char *pos; int err; -- 2.47.1