aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-ctl/v4l2-ctl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/v4l2-ctl/v4l2-ctl.cpp')
-rw-r--r--utils/v4l2-ctl/v4l2-ctl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
index 2a76176b..866c16f3 100644
--- a/utils/v4l2-ctl/v4l2-ctl.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -885,8 +885,8 @@ int parse_selection_target(const char *s, unsigned int &target)
static void print_event(const struct v4l2_event *ev)
{
- printf("%ld.%06ld: event %u, pending %u: ",
- ev->timestamp.tv_sec, ev->timestamp.tv_nsec / 1000,
+ printf("%lld.%06ld: event %u, pending %u: ",
+ (__u64)ev->timestamp.tv_sec, ev->timestamp.tv_nsec / 1000,
ev->sequence, ev->pending);
switch (ev->type) {
case V4L2_EVENT_VSYNC:

Privacy Policy