diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-02-06 10:36:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 19:41:00 +0100 |
commit | 73de76a0a42efa173c29aff32e555ac6de992573 (patch) | |
tree | def98bdd451060ac17cff6ed4bb1323df8d1f508 | |
parent | sound/oss/pss: set_io_base() always returns success, mark it void (diff) | |
download | linux-73de76a0a42efa173c29aff32e555ac6de992573.tar.xz linux-73de76a0a42efa173c29aff32e555ac6de992573.zip |
sound/oss/sb_common.c: fix casting warning
sound/oss/sb_common.c: In function 'probe_sbmpu':
sound/oss/sb_common.c:1231: warning: cast to pointer from integer of different size
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | sound/oss/sb_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/oss/sb_common.c b/sound/oss/sb_common.c index 07cbacf63824..77d0e5efda76 100644 --- a/sound/oss/sb_common.c +++ b/sound/oss/sb_common.c @@ -1228,7 +1228,8 @@ int probe_sbmpu(struct address_info *hw_config, struct module *owner) } attach_mpu401(hw_config, owner); if (last_sb->irq == -hw_config->irq) - last_sb->midi_irq_cookie=(void *)hw_config->slots[1]; + last_sb->midi_irq_cookie = + (void *)(long) hw_config->slots[1]; return 1; } #endif |