Silence some warnings

This commit is contained in:
twinaphex 2017-08-14 07:13:50 +02:00
parent e262ae3326
commit 24878694f8
2 changed files with 4 additions and 2 deletions

View File

@ -834,7 +834,7 @@ static bool input_overlay_add_inputs(input_overlay_t *ol,
}
break;
case OVERLAY_TYPE_KEYBOARD:
if(input_state(port, RETRO_DEVICE_KEYBOARD, 0, desc->key_mask))
if(input_state(port, RETRO_DEVICE_KEYBOARD, 0, (unsigned)desc->key_mask))
{
desc->updated = true;
button_pressed = true;

View File

@ -82,7 +82,9 @@ enum menu_animation_easing_type
EASING_IN_BOUNCE,
EASING_OUT_BOUNCE,
EASING_IN_OUT_BOUNCE,
EASING_OUT_IN_BOUNCE
EASING_OUT_IN_BOUNCE,
EASING_LAST
};
typedef struct menu_animation_ctx_delta