forked from nuttx/nuttx-update
video/fb: fix integer overflow issue
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
parent
a0420df332
commit
257339a442
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue