From: Hannes Eder Date: Wed, 25 Feb 2009 21:28:45 +0000 (+0100) Subject: ALSA: sound/pci/hda: fix sparse warning: different signedness X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5d9b6c07831456b7a7d90eac31c853d60eaf8ab6;p=openwrt%2Fstaging%2Fblogic.git 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 * Signed-off-by: Hannes Eder Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 4bd82a37a4c8..03ee9dd04913 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,