From 42cbea662714eeaa79bb643db5682ac8677666c8 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 19 Dec 2016 16:19:40 +0000 Subject: [PATCH] v4l2.c: print v4l2_ext_control.value64 using PRId64 format * v4l2.c (print_v4l2_ext_control): Print value64 field of struct_v4l2_ext_control using PRId64 format. --- v4l2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/v4l2.c b/v4l2.c index 3aee199c..ab50c189 100644 --- a/v4l2.c +++ b/v4l2.c @@ -666,8 +666,7 @@ print_v4l2_ext_control(struct tcb *tcp, void *elem_buf, size_t elem_size, void * printstr(tcp, (long) p->string, p->size); } else # endif - tprintf(", value=%d, value64=%lld", p->value, - (long long) p->value64); + tprintf(", value=%d, value64=%" PRId64, p->value, (int64_t) p->value64); tprints("}"); return true; -- 2.50.1