diff options
Diffstat (limited to 'sound/usb/mixer_quirks.c')
| -rw-r--r-- | sound/usb/mixer_quirks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index 1f6011f36bb0..199fa157a411 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c | |||
| @@ -741,7 +741,7 @@ static int snd_ni_control_init_val(struct usb_mixer_interface *mixer, | |||
| 741 | return err; | 741 | return err; |
| 742 | } | 742 | } |
| 743 | 743 | ||
| 744 | kctl->private_value |= (value << 24); | 744 | kctl->private_value |= ((unsigned int)value << 24); |
| 745 | return 0; | 745 | return 0; |
| 746 | } | 746 | } |
| 747 | 747 | ||
| @@ -902,7 +902,7 @@ static int snd_ftu_eff_switch_init(struct usb_mixer_interface *mixer, | |||
| 902 | if (err < 0) | 902 | if (err < 0) |
| 903 | return err; | 903 | return err; |
| 904 | 904 | ||
| 905 | kctl->private_value |= value[0] << 24; | 905 | kctl->private_value |= (unsigned int)value[0] << 24; |
| 906 | return 0; | 906 | return 0; |
| 907 | } | 907 | } |
| 908 | 908 | ||
