pixelclock is 64-bit and make sure the else case is also 64-bit.
Signed-off-by: Hans Petter Selasky <hps@xxxxxxxxxxx>
---
utils/media-ctl/media-ctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/media-ctl/media-ctl.c b/utils/media-ctl/media-ctl.c
index 6661b487..455b92a3 100644
--- a/utils/media-ctl/media-ctl.c
+++ b/utils/media-ctl/media-ctl.c
@@ -213,7 +213,7 @@ static void v4l2_subdev_print_dv_timings(const
struct v4l2_dv_timings *timings,
printf(" %ux%u%s%llu (%ux%u)",
bt->width, bt->height, bt->interlaced ? "i" : "p",
- (htotal * vtotal) > 0 ? (bt->pixelclock / (htotal * vtotal)) : 0,
+ (htotal * vtotal) > 0 ? (bt->pixelclock / (htotal * vtotal)) :
0ULL,
htotal, vtotal);
printf(" stds:");
--
2.26.0