mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Shut up another sign warning.
This commit is contained in:
parent
c62e4aa761
commit
a5ee1cb22d
@ -571,8 +571,8 @@ bool menu_animation_update(menu_animation_t *anim, float dt)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void menu_animation_ticker_generic(uint64_t idx, int max_width,
|
void menu_animation_ticker_generic(uint64_t idx, size_t max_width,
|
||||||
int *offset, int *width)
|
size_t *offset, size_t *width)
|
||||||
{
|
{
|
||||||
int ticker_period, phase, phase_left_stop;
|
int ticker_period, phase, phase_left_stop;
|
||||||
int phase_left_moving, phase_right_stop;
|
int phase_left_moving, phase_right_stop;
|
||||||
@ -620,8 +620,8 @@ void menu_animation_ticker_str(char *s, size_t len, uint64_t idx,
|
|||||||
const char *str, bool selected)
|
const char *str, bool selected)
|
||||||
{
|
{
|
||||||
menu_animation_t *anim = menu_animation_get_ptr();
|
menu_animation_t *anim = menu_animation_get_ptr();
|
||||||
int str_len = strlen(str);
|
size_t str_len = strlen(str);
|
||||||
int offset = 0;
|
size_t offset = 0;
|
||||||
|
|
||||||
if ((size_t)str_len <= len)
|
if ((size_t)str_len <= len)
|
||||||
{
|
{
|
||||||
|
@ -114,8 +114,8 @@ bool menu_animation_update(menu_animation_t *animation, float dt);
|
|||||||
void menu_animation_ticker_str(char *s, size_t len, uint64_t tick,
|
void menu_animation_ticker_str(char *s, size_t len, uint64_t tick,
|
||||||
const char *str, bool selected);
|
const char *str, bool selected);
|
||||||
|
|
||||||
void menu_animation_ticker_generic(uint64_t idx, int max_width,
|
void menu_animation_ticker_generic(uint64_t idx, size_t max_width,
|
||||||
int *offset, int *width);
|
size_t *offset, size_t *width);
|
||||||
|
|
||||||
menu_animation_t *menu_animation_get_ptr(void);
|
menu_animation_t *menu_animation_get_ptr(void);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user