Skip to content

Commit

Permalink
[ALSA] emu10k1 - Fix compile warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Feb 9, 2007
1 parent 9244b2c commit bbb5355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/emu10k1/emu10k1_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bbb5355

Please sign in to comment.