1
0
Fork 0
forked from nuttx/nuttx-update

video/fb: fix integer overflow issue

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
pengyiqiang 2024-12-02 11:41:08 +08:00 committed by Xiang Xiao
parent a0420df332
commit 257339a442

View file

@ -1732,7 +1732,7 @@ int fb_register_device(int display, int plane,
char devname[16];
int nplanes;
int ret;
size_t i;
ssize_t i;
/* Allocate a framebuffer state instance */