diff --git a/v4l2/v4l2_pr_structs.c b/v4l2/v4l2_pr_structs.c index 83d44e8c..bbc1e1f9 100644 --- a/v4l2/v4l2_pr_structs.c +++ b/v4l2/v4l2_pr_structs.c @@ -287,7 +287,7 @@ void pr_ctrl_id(uint32_t id) if (verbosity>1) fprintf(FP, "%08x : ", id); -fprintf(FP, "%x %03x %04x", (id>>28)&0xf, +fprintf(FP, "%x %03lx %04x", (id>>28)&0xf, V4L2_CTRL_ID2CLASS(id)>>16, id&0xffff); }