]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - sound/drivers/pcsp/pcsp_mixer.c
ALSA: pcsp - fix printk format warning again
[linux-2.6.git] / sound / drivers / pcsp / pcsp_mixer.c
index 771955a9be713a14b7da99472b8adc9a0c0706a4..199b0337714279318c83c30070794ababc719329 100644 (file)
@@ -51,7 +51,7 @@ static int pcsp_treble_info(struct snd_kcontrol *kcontrol,
        if (uinfo->value.enumerated.item > chip->max_treble)
                uinfo->value.enumerated.item = chip->max_treble;
        sprintf(uinfo->value.enumerated.name, "%lu",
-                       PCSP_CALC_RATE(uinfo->value.enumerated.item));
+               (unsigned long)PCSP_CALC_RATE(uinfo->value.enumerated.item));
        return 0;
 }