mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 00:32:46 +00:00
Fix CXX_BUILD warnings
This commit is contained in:
parent
c1633a8695
commit
92b1398a79
@ -1651,7 +1651,7 @@ static int cheevos_deactivate__json_number(void *userdata,
|
||||
|
||||
for (; cheevo < end; cheevo++)
|
||||
{
|
||||
if (cheevo->id == id)
|
||||
if (cheevo->id == (unsigned)id)
|
||||
{
|
||||
cheevo->active = 0;
|
||||
found = 1;
|
||||
@ -1666,7 +1666,7 @@ static int cheevos_deactivate__json_number(void *userdata,
|
||||
|
||||
for (; cheevo < end; cheevo++)
|
||||
{
|
||||
if (cheevo->id == id)
|
||||
if (cheevo->id == (unsigned)id)
|
||||
{
|
||||
cheevo->active = 0;
|
||||
break;
|
||||
|
@ -796,7 +796,7 @@ static int setting_string_action_right_audio_device(void *data, bool wraparound)
|
||||
audio_device_index++;
|
||||
|
||||
/* Reset index if needed */
|
||||
if (audio_device_index == ptr->size)
|
||||
if (audio_device_index == (signed)ptr->size)
|
||||
audio_device_index = 0;
|
||||
|
||||
strlcpy(setting->value.target.string, ptr->elems[audio_device_index].data, setting->size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user