Skip to content

Commit

Permalink
ALSA: sound/pci/hda: fix sparse warning: different signedness
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hannes Eder authored and Takashi Iwai committed Feb 26, 2009
1 parent f872a91 commit 5d9b6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/hda_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5d9b6c0

Please sign in to comment.