Commit 5d9b6c07 authored by Hannes Eder's avatar Hannes Eder Committed by Takashi Iwai

ALSA: sound/pci/hda: fix sparse warning: different signedness

Fix this sparse warning:
  sound/pci/hda/hda_codec.c:1544:19: warning: incorrect type in assignment (different signedness)
  sound/pci/hda/hda_codec.c:1544:19:    expected unsigned long *vals
  sound/pci/hda/hda_codec.c:1544:19:    got long *<noident>
Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent f872a919
...@@ -136,7 +136,7 @@ extern struct hda_ctl_ops snd_hda_bind_sw; /* for bind-switch */ ...@@ -136,7 +136,7 @@ extern struct hda_ctl_ops snd_hda_bind_sw; /* for bind-switch */
struct hda_bind_ctls { struct hda_bind_ctls {
struct hda_ctl_ops *ops; struct hda_ctl_ops *ops;
long values[]; unsigned long values[];
}; };
int snd_hda_mixer_bind_ctls_info(struct snd_kcontrol *kcontrol, int snd_hda_mixer_bind_ctls_info(struct snd_kcontrol *kcontrol,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment