summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-10-05 16:21:19 +0200
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:00:11 +0100
commitbbb53551e31dce3cdbf61330e135179a55c82fd1 (patch)
treeca7640169defbca7989ffc96d6c5649dbdbaa157
parent9244b2c3079faac79b3b961116bd548c45087e2c (diff)
downloadop-kernel-dev-bbb53551e31dce3cdbf61330e135179a55c82fd1.zip
op-kernel-dev-bbb53551e31dce3cdbf61330e135179a55c82fd1.tar.gz
[ALSA] emu10k1 - Fix compile warning
Fixed a compile warning regarding print format for size_t. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/pci/emu10k1/emu10k1_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c
index 891172f..09c4db8 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;
OpenPOWER on IntegriCloud