diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-29 05:44:26 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:18 -0400 |
commit | 4677df07e551d64167f64eba5e3563b3df7f4ca8 (patch) | |
tree | eb9c897b8db23e10d0442e1d3258093d6d68f231 /sound/pci/emu10k1 | |
parent | 3fa4a9073886a1031400c19e8b09fca3eebb645f (diff) |
[ALSA] sound: emuproc.c fix signedness warning
Reading regs from the fpga into an int instead of a u32, trivial
fix.
sound/pci/emu10k1/emuproc.c:422:34: warning: incorrect type in argument 3 (different signedness)
sound/pci/emu10k1/emuproc.c:422:34: expected unsigned int [usertype] *value
sound/pci/emu10k1/emuproc.c:422:34: got int *<noident>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1')
-rw-r--r-- | sound/pci/emu10k1/emuproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emuproc.c b/sound/pci/emu10k1/emuproc.c index f3caa3f890c6..216f9748aff5 100644 --- a/sound/pci/emu10k1/emuproc.c +++ b/sound/pci/emu10k1/emuproc.c | |||
@@ -412,7 +412,7 @@ static void snd_emu_proc_emu1010_reg_read(struct snd_info_entry *entry, | |||
412 | struct snd_info_buffer *buffer) | 412 | struct snd_info_buffer *buffer) |
413 | { | 413 | { |
414 | struct snd_emu10k1 *emu = entry->private_data; | 414 | struct snd_emu10k1 *emu = entry->private_data; |
415 | int value; | 415 | u32 value; |
416 | unsigned long flags; | 416 | unsigned long flags; |
417 | int i; | 417 | int i; |
418 | snd_iprintf(buffer, "EMU1010 Registers:\n\n"); | 418 | snd_iprintf(buffer, "EMU1010 Registers:\n\n"); |