summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-08-21 19:09:42 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-08-21 19:09:42 -0300
commitea03de48c87e9209713cf3fb48848ab9cf138c0e (patch)
tree6afa077e6e32dbc9726a7c933417d066d2e3aeaa /linux/drivers
parent8896d4269aa500bfa93d4a088bf12c470cfa5a2e (diff)
downloadmediapointer-dvb-s2-ea03de48c87e9209713cf3fb48848ab9cf138c0e.tar.gz
mediapointer-dvb-s2-ea03de48c87e9209713cf3fb48848ab9cf138c0e.tar.bz2
v4l2-ioctl.c: fix warning
From: Alexander Beregalov <a.beregalov@gmail.com> drivers/media/video/v4l2-ioctl.c:496: warning: format '%08ld' expects type 'long int', but argument 5 has type 'suseconds_t' Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/v4l2-ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/v4l2-ioctl.c b/linux/drivers/media/video/v4l2-ioctl.c
index 1c8fa257d..51569f888 100644
--- a/linux/drivers/media/video/v4l2-ioctl.c
+++ b/linux/drivers/media/video/v4l2-ioctl.c
@@ -500,7 +500,7 @@ static void dbgbuf(unsigned int cmd, struct video_device *vfd,
p->timestamp.tv_sec / 3600,
(int)(p->timestamp.tv_sec / 60) % 60,
(int)(p->timestamp.tv_sec % 60),
- p->timestamp.tv_usec,
+ (long)p->timestamp.tv_usec,
p->index,
prt_names(p->type, v4l2_type_names),
p->bytesused, p->flags,