summaryrefslogtreecommitdiff
path: root/drivers/media/video/zoran_device.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-05-19 13:08:09 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 02:00:36 -0300
commitd6144028af6b151018c50c160e794a4d7f686333 (patch)
tree39f1596643e5a394398a319fd31758169e6cf32f /drivers/media/video/zoran_device.c
parent0463f12c5cdc3d5577002826c302471b95b2532c (diff)
downloadlinux-d6144028af6b151018c50c160e794a4d7f686333.tar.gz
linux-d6144028af6b151018c50c160e794a4d7f686333.tar.xz
V4L/DVB (4036): Fix some compilation warnings
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/zoran_device.c')
-rw-r--r--drivers/media/video/zoran_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zoran_device.c b/drivers/media/video/zoran_device.c
index c690b2ee880a..02168d9c2187 100644
--- a/drivers/media/video/zoran_device.c
+++ b/drivers/media/video/zoran_device.c
@@ -536,7 +536,7 @@ zr36057_overlay (struct zoran *zr,
* All error messages are internal driver checking only! */
/* video display top and bottom registers */
- reg = (u32) zr->buffer.base +
+ reg = (long) zr->buffer.base +
zr->overlay_settings.x *
((zr->overlay_settings.format->depth + 7) / 8) +
zr->overlay_settings.y *