mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:35:42 +01:00
Fixed compilation
This commit is contained in:
parent
5ee8a3ffa2
commit
9528f8a6c0
1 changed files with 2 additions and 2 deletions
|
@ -948,8 +948,8 @@ static int cset(int argc, char *argv[], int roflag)
|
|||
tmp = 1;
|
||||
ptr += 3;
|
||||
} else if (!strncasecmp(ptr, "toggle", 6)) {
|
||||
snd_ctl_elem_value_get_boolean(control, idx, &tmp);
|
||||
tmp = tmp ? 0 : 1;
|
||||
tmp = snd_ctl_elem_value_get_boolean(control, idx);
|
||||
tmp = tmp > 0 ? 0 : 1;
|
||||
ptr += 6;
|
||||
} else if (atoi(ptr)) {
|
||||
tmp = 1;
|
||||
|
|
Loading…
Reference in a new issue