mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue