@@ -664,10 +664,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:
Found with -Wformat-pedantic Signed-off-by: Rosen Penev <rosenp@gmail.com> --- utils/v4l2-compliance/v4l2-test-formats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)