mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
Small fixes for signedness warnings. (#15873)
This commit is contained in:
parent
701d22d935
commit
aaff36d024
@ -55,7 +55,7 @@ typedef struct
|
|||||||
|
|
||||||
/* Frame captured during the last call to the translation service */
|
/* Frame captured during the last call to the translation service */
|
||||||
uint8_t *last_image;
|
uint8_t *last_image;
|
||||||
int last_image_size;
|
unsigned last_image_size;
|
||||||
|
|
||||||
/* 1 if the automatic mode has been enabled, 0 otherwise */
|
/* 1 if the automatic mode has been enabled, 0 otherwise */
|
||||||
int ai_service_auto;
|
int ai_service_auto;
|
||||||
|
@ -598,7 +598,7 @@ static access_response_t* parse_response_json(http_transfer_data_t *data)
|
|||||||
|
|
||||||
if (type == RJSON_STRING && (rjson_get_context_count(json) & 1) == 1)
|
if (type == RJSON_STRING && (rjson_get_context_count(json) & 1) == 1)
|
||||||
{
|
{
|
||||||
int i;
|
unsigned i;
|
||||||
string = rjson_get_string(json, &length);
|
string = rjson_get_string(json, &length);
|
||||||
for (i = 0; i < ARRAY_SIZE(ACCESS_RESPONSE_KEYS) && key == -1; i++)
|
for (i = 0; i < ARRAY_SIZE(ACCESS_RESPONSE_KEYS) && key == -1; i++)
|
||||||
{
|
{
|
||||||
@ -1094,7 +1094,7 @@ static void translation_response_input(access_response_t *response)
|
|||||||
#ifdef HAVE_ACCESSIBILITY
|
#ifdef HAVE_ACCESSIBILITY
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int i = 0;
|
unsigned i = 0;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
for (; i < ARRAY_SIZE(ACCESS_INPUT_LABELS) && !found; i++)
|
for (; i < ARRAY_SIZE(ACCESS_INPUT_LABELS) && !found; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user