summaryrefslogtreecommitdiff
path: root/linux/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-05-19 13:08:09 -0300
commitd334b57f4f49f9f7d78475dd6aa29b1dbaee90fe (patch)
tree86c00639129ce852006145ae1137ac7fbcaf25ea /linux/drivers/media/video/zoran_device.c
parenta9f25b4215fa710a1e0074888d2aab5a168d4d78 (diff)
downloadmediapointer-dvb-s2-d334b57f4f49f9f7d78475dd6aa29b1dbaee90fe.tar.gz
mediapointer-dvb-s2-d334b57f4f49f9f7d78475dd6aa29b1dbaee90fe.tar.bz2
Fix some compilation warnings
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/zoran_device.c')
-rw-r--r--linux/drivers/media/video/zoran_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zoran_device.c b/linux/drivers/media/video/zoran_device.c
index bb5011280..176b23143 100644
--- a/linux/drivers/media/video/zoran_device.c
+++ b/linux/drivers/media/video/zoran_device.c
@@ -537,7 +537,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 *