From e6e78d4d0e7e8b822d09587eafc8c4b566ed7cae Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Wed, 14 Dec 2005 22:33:16 +0000 Subject: Fix 64-bit compile warnings Signed-off-by: Hans Verkuil --- linux/drivers/media/common/saa7146_hlp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/common/saa7146_hlp.c') diff --git a/linux/drivers/media/common/saa7146_hlp.c b/linux/drivers/media/common/saa7146_hlp.c index 8fd7ed5af..a3019c006 100644 --- a/linux/drivers/media/common/saa7146_hlp.c +++ b/linux/drivers/media/common/saa7146_hlp.c @@ -563,7 +563,7 @@ static void saa7146_set_position(struct saa7146_dev *dev, int w_x, int w_y, int int b_depth = vv->ov_fmt->depth; int b_bpl = vv->ov_fb.fmt.bytesperline; - u32 base = (u32)vv->ov_fb.base; + u32 base = (u32)(unsigned long)vv->ov_fb.base; struct saa7146_video_dma vdma1; -- cgit v1.2.3