diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-05-14 08:49:13 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-14 18:03:10 +0200 |
commit | 5a641bcd6398841cc4606b0a732d41a09256fd94 (patch) | |
tree | dc0ff65c30d85869c3563f3ca2140278507cbee0 /sound | |
parent | 1b1cc7f21c51cc81992a547b59e174dd8c44d1bd (diff) | |
download | op-kernel-dev-5a641bcd6398841cc4606b0a732d41a09256fd94.zip op-kernel-dev-5a641bcd6398841cc4606b0a732d41a09256fd94.tar.gz |
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')
-rw-r--r-- | sound/drivers/pcsp/pcsp_mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/pcsp/pcsp_mixer.c b/sound/drivers/pcsp/pcsp_mixer.c index caeb0f5..771955a 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; } |