mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
Silence CXX_BUILD warnings
This commit is contained in:
parent
ea94d33de5
commit
6f9b7a4c87
@ -271,7 +271,7 @@ void IMAGE_CORE_PREFIX(retro_run)(void)
|
||||
|
||||
if (slideshow_enable)
|
||||
{
|
||||
if ((frames % 120 == 0) && image_index < (file_list->size - 1))
|
||||
if ((frames % 120 == 0) && image_index < (signed)(file_list->size - 1))
|
||||
next_image = true;
|
||||
}
|
||||
|
||||
@ -287,7 +287,7 @@ void IMAGE_CORE_PREFIX(retro_run)(void)
|
||||
|
||||
if (input & (1<<RETRO_DEVICE_ID_JOYPAD_UP))
|
||||
{
|
||||
if ((image_index + 5) < (file_list->size - 1))
|
||||
if ((image_index + 5) < (signed)(file_list->size - 1))
|
||||
forward_image = true;
|
||||
else
|
||||
last_image = true;
|
||||
@ -308,7 +308,7 @@ void IMAGE_CORE_PREFIX(retro_run)(void)
|
||||
}
|
||||
if (input & (1<<RETRO_DEVICE_ID_JOYPAD_RIGHT))
|
||||
{
|
||||
if (image_index < (file_list->size - 1))
|
||||
if (image_index < (signed)(file_list->size - 1))
|
||||
next_image = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user