summaryrefslogtreecommitdiffstats
path: root/sound/drivers/pcsp/pcsp_mixer.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-05-14 08:49:13 -0700
committerTakashi Iwai <tiwai@suse.de>2009-05-14 18:03:10 +0200
commit5a641bcd6398841cc4606b0a732d41a09256fd94 (patch)
treedc0ff65c30d85869c3563f3ca2140278507cbee0 /sound/drivers/pcsp/pcsp_mixer.c
parent1b1cc7f21c51cc81992a547b59e174dd8c44d1bd (diff)
downloadblackbird-op-linux-5a641bcd6398841cc4606b0a732d41a09256fd94.tar.gz
blackbird-op-linux-5a641bcd6398841cc4606b0a732d41a09256fd94.zip
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>
Diffstat (limited to 'sound/drivers/pcsp/pcsp_mixer.c')
-rw-r--r--sound/drivers/pcsp/pcsp_mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/pcsp/pcsp_mixer.c b/sound/drivers/pcsp/pcsp_mixer.c
index caeb0f57fcca..771955a9be71 100644
--- a/sound/drivers/pcsp/pcsp_mixer.c
+++ b/sound/drivers/pcsp/pcsp_mixer.c
@@ -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;
}
OpenPOWER on IntegriCloud