From: Takashi Iwai Date: Thu, 5 Oct 2006 14:21:19 +0000 (+0200) Subject: [ALSA] emu10k1 - Fix compile warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bbb53551e31dce3cdbf61330e135179a55c82fd1;p=openwrt%2Fstaging%2Fblogic.git [ALSA] emu10k1 - Fix compile warning Fixed a compile warning regarding print format for size_t. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c index 891172f2b1d7..09c4db8495b2 100644 --- a/sound/pci/emu10k1/emu10k1_main.c +++ b/sound/pci/emu10k1/emu10k1_main.c @@ -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); 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) { snd_printk(KERN_ERR "firmware: %s wrong size.\n",filename); return -EINVAL;