ALSA: pcsp: fix printk format warning
Fix printk format warning: sound/drivers/pcsp/pcsp_mixer.c:54: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
1b1cc7f21c
commit
5a641bcd63
|
@ -50,7 +50,7 @@ static int pcsp_treble_info(struct snd_kcontrol *kcontrol,
|
|||
uinfo->value.enumerated.items = chip->max_treble + 1;
|
||||
if (uinfo->value.enumerated.item > chip->max_treble)
|
||||
uinfo->value.enumerated.item = chip->max_treble;
|
||||
sprintf(uinfo->value.enumerated.name, "%d",
|
||||
sprintf(uinfo->value.enumerated.name, "%lu",
|
||||
PCSP_CALC_RATE(uinfo->value.enumerated.item));
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue