diff options
author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-11-19 22:15:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-19 22:15:18 -0800 |
commit | 28b3389a3166340c4d5a67dc55e4a6fd9bc9c6e5 (patch) | |
tree | 78002aa297d49e37b6c4b726ba2a10fb2e124cdb /sound | |
parent | 0598e144dd909929123e0bedff2c1b89b1c99360 (diff) | |
download | history-28b3389a3166340c4d5a67dc55e4a6fd9bc9c6e5.tar.gz |
[PATCH] 64bit portability fixes
assorted 64bit issues - extraction of number passed in pointer, use of
%zd for size_t, ssize_t instead of int as return value of ->read(), %p
for pointers instead of casting to int and using %x.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/cs46xx/dsp_spos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/cs46xx/dsp_spos.c b/sound/pci/cs46xx/dsp_spos.c index 25c68e91d8b145..0f3ab7a96969d4 100644 --- a/sound/pci/cs46xx/dsp_spos.c +++ b/sound/pci/cs46xx/dsp_spos.c @@ -914,7 +914,7 @@ static void _dsp_create_task_tree (cs46xx_t *chip,u32 * task_data, u32 dest, in int i; for (i = 0; i < size; ++i) { - if (debug_tree) printk ("addr %08x, val %08x\n",(int)spdst,task_data[i]); + if (debug_tree) printk ("addr %p, val %08x\n", spdst,task_data[i]); writel(task_data[i],spdst); spdst += sizeof(u32); } @@ -928,7 +928,7 @@ static void _dsp_create_scb (cs46xx_t *chip,u32 * scb_data, u32 dest) int i; for (i = 0; i < 0x10; ++i) { - if (debug_scb) printk ("addr %08x, val %08x\n",(int)spdst,scb_data[i]); + if (debug_scb) printk ("addr %p, val %08x\n", spdst,scb_data[i]); writel(scb_data[i],spdst); spdst += sizeof(u32); } |