[ALSA] emu10k1 - Fix compile warning
authorTakashi Iwai <tiwai@suse.de>
Thu, 5 Oct 2006 14:21:19 +0000 (16:21 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:00:11 +0000 (09:00 +0100)
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>
sound/pci/emu10k1/emu10k1_main.c

index 891172f2b1d78e59a9fe742be7eceba12dff134f..09c4db8495b20df288d15fb8cfa7e54ee3e26f3b 100644 (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);
                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;