From 33b539a07d5135e9da906c7b3719929673a9923b Mon Sep 17 00:00:00 2001 From: shizhenghui Date: Fri, 31 May 2024 10:03:13 +0800 Subject: [PATCH] video/v4l2_cap: fix type overflow Signed-off-by: shizhenghui --- drivers/video/v4l2_cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/v4l2_cap.c b/drivers/video/v4l2_cap.c index 2e24d0ecaf..bb6a574c9b 100644 --- a/drivers/video/v4l2_cap.c +++ b/drivers/video/v4l2_cap.c @@ -2907,7 +2907,7 @@ static int capture_s_selection(FAR struct file *filep, FAR capture_type_inf_t *type_inf; uint32_t p_u32[IMGSENSOR_CLIP_NELEM]; imgsensor_value_t val; - int32_t id; + uint32_t id; int ret; if (cmng == NULL || clip == NULL)