Skip to content

Commit

Permalink
video/fb: fix integer overflow issue
Browse files Browse the repository at this point in the history
Signed-off-by: _VIFEXTech <vifextech@foxmail.com>
  • Loading branch information
pengyiqiang authored and FASTSHIFT committed Dec 25, 2024
1 parent 63d3786 commit 2613ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,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 */

Expand Down

0 comments on commit 2613ea8

Please sign in to comment.