aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-21 17:37:35 -0700
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-04-23 11:05:13 +0200
commitbe490b52bf28cbedd7ffcc0e6806e1f7fa8b4e90 (patch)
treef03d630ca699466895721e3d435167d9b03bd303
parent1daca68788ab98aedee7ca322182bd21513f93c8 (diff)
utils: fix wrong format
Found with -Wformat-pedantic Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--utils/v4l2-compliance/v4l2-test-formats.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/v4l2-compliance/v4l2-test-formats.cpp b/utils/v4l2-compliance/v4l2-test-formats.cpp
index 3fc87316..824769b3 100644
--- a/utils/v4l2-compliance/v4l2-test-formats.cpp
+++ b/utils/v4l2-compliance/v4l2-test-formats.cpp
@@ -658,10 +658,10 @@ static bool matchFormats(const struct v4l2_format &f1, const struct v4l2_format
return true;
printf("\t\tG_FMT: %dx%d@%dx%d, %d, %x, %p, %d, %p, %x\n",
win1.w.width, win1.w.height, win1.w.left, win1.w.top, win1.field,
- win1.chromakey, win1.clips, win1.clipcount, win1.bitmap, win1.global_alpha);
+ win1.chromakey, (void *)win1.clips, win1.clipcount, win1.bitmap, win1.global_alpha);
printf("\t\tTRY/S_FMT: %dx%d@%dx%d, %d, %x, %p, %d, %p, %x\n",
win2.w.width, win2.w.height, win2.w.left, win2.w.top, win2.field,
- win2.chromakey, win2.clips, win2.clipcount, win2.bitmap, win2.global_alpha);
+ win2.chromakey, (void *)win2.clips, win2.clipcount, win2.bitmap, win2.global_alpha);
return false;
case V4L2_BUF_TYPE_VBI_CAPTURE:
case V4L2_BUF_TYPE_VBI_OUTPUT:

Privacy Policy