Fixed compilation

This commit is contained in:
Jaroslav Kysela 2001-09-27 19:14:26 +00:00
parent 5ee8a3ffa2
commit 9528f8a6c0

View file

@ -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;