summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-08-27 12:05:18 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-08-27 12:05:18 -0300
commit400532679931f60d0cc69daf583c0687c9d3a0bf (patch)
treec28a78eefc9c345ab95f3d6861d5abd83ca2d825 /linux/drivers/media/video
parentab110023a3a6411bbbfcd1a1946dfab1017813f7 (diff)
downloadmediapointer-dvb-s2-400532679931f60d0cc69daf583c0687c9d3a0bf.tar.gz
mediapointer-dvb-s2-400532679931f60d0cc69daf583c0687c9d3a0bf.tar.bz2
Fix a warning when compiling on x86_64
From: Mauro Carvalho Chehab <mchehab@infradead.org> tcm825x.c: In function 'ioctl_try_fmt_cap': tcm825x.c:639: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/tcm825x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tcm825x.c b/linux/drivers/media/video/tcm825x.c
index 4b973b099..3a139f288 100644
--- a/linux/drivers/media/video/tcm825x.c
+++ b/linux/drivers/media/video/tcm825x.c
@@ -635,8 +635,8 @@ static int ioctl_try_fmt_cap(struct v4l2_int_device *s,
struct v4l2_pix_format *pix = &f->fmt.pix;
isize = tcm825x_find_size(s, pix->width, pix->height);
- dev_dbg(&sensor->i2c_client->dev, "isize = %d num_capture = %d\n",
- isize, TCM825X_NUM_CAPTURE_FORMATS);
+ dev_dbg(&sensor->i2c_client->dev, "isize = %d num_capture = %lu\n",
+ isize, (unsigned long)TCM825X_NUM_CAPTURE_FORMATS);
pix->width = tcm825x_sizes[isize].width;
pix->height = tcm825x_sizes[isize].height;