Commit bbb53551 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] emu10k1 - Fix compile warning

Fixed a compile warning regarding print format for size_t.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 9244b2c3
...@@ -615,7 +615,7 @@ static int snd_emu1010_load_firmware(struct snd_emu10k1 * emu, const char * file ...@@ -615,7 +615,7 @@ static int snd_emu1010_load_firmware(struct snd_emu10k1 * emu, const char * file
snd_printk(KERN_ERR "firmware: %s not found. Err=%d\n",filename, err); snd_printk(KERN_ERR "firmware: %s not found. Err=%d\n",filename, err);
return err; return err;
} }
snd_printk(KERN_INFO "firmware size=0x%x\n",fw_entry->size); snd_printk(KERN_INFO "firmware size=0x%zx\n", fw_entry->size);
if (fw_entry->size != 0x133a4) { if (fw_entry->size != 0x133a4) {
snd_printk(KERN_ERR "firmware: %s wrong size.\n",filename); snd_printk(KERN_ERR "firmware: %s wrong size.\n",filename);
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment