summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-25 22:28:45 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-26 09:59:04 +0100
commit5d9b6c07831456b7a7d90eac31c853d60eaf8ab6 (patch)
tree8c125b4a4b538f3a186ab8d7283e744dd6ed1fed /sound/pci/hda/hda_local.h
parentf872a9194cb006994d47a58efc875218594e6072 (diff)
downloadop-kernel-dev-5d9b6c07831456b7a7d90eac31c853d60eaf8ab6.zip
op-kernel-dev-5d9b6c07831456b7a7d90eac31c853d60eaf8ab6.tar.gz
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: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index 4bd82a3..03ee9dd 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -136,7 +136,7 @@ extern struct hda_ctl_ops snd_hda_bind_sw; /* for bind-switch */
struct hda_bind_ctls {
struct hda_ctl_ops *ops;
- long values[];
+ unsigned long values[];
};
int snd_hda_mixer_bind_ctls_info(struct snd_kcontrol *kcontrol,
OpenPOWER on IntegriCloud