mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(RGUI) Fix LGTM warning - 'Multiplication result converted to larger type'
This commit is contained in:
parent
371d0b7395
commit
72f08bb1b4
@ -2266,7 +2266,7 @@ static void rgui_render_background(rgui_t *rgui,
|
|||||||
/* Otherwise copy background to framebuffer */
|
/* Otherwise copy background to framebuffer */
|
||||||
else if (background_buf->data)
|
else if (background_buf->data)
|
||||||
memcpy(frame_buf->data, background_buf->data,
|
memcpy(frame_buf->data, background_buf->data,
|
||||||
frame_buf->width * frame_buf->height * sizeof(uint16_t));
|
(size_t)frame_buf->width * (size_t)frame_buf->height * sizeof(uint16_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rgui_render_fs_thumbnail(rgui_t *rgui,
|
static void rgui_render_fs_thumbnail(rgui_t *rgui,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user