aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2009-02-15 14:32:09 +0000
committerLuca Abeni <lucabe72@email.it>2009-02-15 14:32:09 +0000
commit1c787b10438b0e87e93699db0d6b34c85dd94371 (patch)
treef18fc6aba6bca88d37f06682131d5941f3a9450a
parent9075d1e027f56e9df3899150ef25a64300ee505d (diff)
downloadffmpeg-1c787b10438b0e87e93699db0d6b34c85dd94371.tar.gz
Cast a __u64 variable to uint64_t so that it can be printed without warnings
Originally committed as revision 17325 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavdevice/v4l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 819b6a5c1c..940db71394 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -495,7 +495,7 @@ static int v4l2_set_parameters( AVFormatContext *s1, AVFormatParameters *ap )
}
av_log(s1, AV_LOG_DEBUG, "The V4L2 driver set standard: %s, id: %"PRIu64"\n",
- ap->standard, standard.id);
+ ap->standard, (uint64_t)standard.id);
if (ioctl(s->fd, VIDIOC_S_STD, &standard.id) < 0) {
av_log(s1, AV_LOG_ERROR, "The V4L2 driver ioctl set standard(%s) failed\n",
ap->standard);