mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
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 <tiwai@suse.de>
This commit is contained in:
parent
58d10c09e1
commit
7c5c3ff3de
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue