summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-07-17 14:29:44 -0700
committerJean Delvare <khali@linux-fr.org>2007-07-17 14:29:44 -0700
commita7c2eaeee1d6c3fa170da934dff101687560abfe (patch)
treeccc648402e795ac608e6d84b90d01e5424f502bb
parent85ad95829f3aa0429a0adce713ee9b5fd79421ff (diff)
downloadmediapointer-dvb-s2-a7c2eaeee1d6c3fa170da934dff101687560abfe.tar.gz
mediapointer-dvb-s2-a7c2eaeee1d6c3fa170da934dff101687560abfe.tar.bz2
zr36067: fix x86_64 warnings
From: Jean Delvare <khali@linux-fr.org> Fix the following warning on x86_64: drivers/media/video/zoran_driver.c: In function "v4l_fbuffer_alloc": drivers/media/video/zoran_driver.c:387: warning: cast from pointer to integer of different size Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Acked-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
-rw-r--r--linux/drivers/media/video/zoran_driver.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/zoran_driver.c b/linux/drivers/media/video/zoran_driver.c
index b71407821..e3a045af4 100644
--- a/linux/drivers/media/video/zoran_driver.c
+++ b/linux/drivers/media/video/zoran_driver.c
@@ -389,9 +389,8 @@ v4l_fbuffer_alloc (struct file *file)
virt_to_bus(mem);
dprintk(4,
KERN_INFO
- "%s: Bigphysarea frame %d mem 0x%x (bus: 0x%x)\n",
- ZR_DEVNAME(zr), i, (unsigned) mem,
- (unsigned) virt_to_bus(mem));
+ "%s: Bigphysarea frame %d mem %p (bus: 0x%lx)\n",
+ ZR_DEVNAME(zr), i, mem, virt_to_bus(mem));
/* Zero out the allocated memory */
memset(fh->v4l_buffers.buffer[i].fbuffer, 0,