]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: sound/pci/hda: fix sparse warning: different signedness
authorHannes Eder <hannes@hanneseder.net>
Wed, 25 Feb 2009 21:28:45 +0000 (22:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Feb 2009 08:59:04 +0000 (09:59 +0100)
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>
sound/pci/hda/hda_local.h

index 4bd82a37a4c8a1db77cac3b91c009a2d9db8bcb5..03ee9dd04913919ac16e29bf22f026023853d248 100644 (file)
@@ -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,