mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-23 13:10:41 +00:00
(menu_animation.c) Signed/unsigned mismatch fix
This commit is contained in:
parent
d61ad058b4
commit
2f93e502df
@ -306,7 +306,7 @@ void menu_animation_kill_by_subject(menu_animation_t *animation,
|
||||
}
|
||||
}
|
||||
|
||||
void menu_animation_kill_by_tag(menu_animation_t *anim, unsigned tag)
|
||||
void menu_animation_kill_by_tag(menu_animation_t *anim, int tag)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
@ -351,7 +351,7 @@ bool menu_animation_push(menu_animation_t *anim,
|
||||
float duration,
|
||||
float target_value, float* subject,
|
||||
enum menu_animation_easing_type easing_enum,
|
||||
unsigned tag, tween_cb cb)
|
||||
int tag, tween_cb cb)
|
||||
{
|
||||
struct tween t;
|
||||
|
||||
|
@ -41,7 +41,7 @@ struct tween
|
||||
float initial_value;
|
||||
float target_value;
|
||||
float* subject;
|
||||
unsigned tag;
|
||||
int tag;
|
||||
easingFunc easing;
|
||||
tween_cb cb;
|
||||
};
|
||||
@ -120,7 +120,7 @@ void menu_animation_kill_by_subject(
|
||||
size_t count,
|
||||
const void *subjects);
|
||||
|
||||
void menu_animation_kill_by_tag(menu_animation_t *anim, unsigned tag);
|
||||
void menu_animation_kill_by_tag(menu_animation_t *anim, int tag);
|
||||
|
||||
/* Use -1 for untagged */
|
||||
bool menu_animation_push(
|
||||
@ -128,7 +128,7 @@ bool menu_animation_push(
|
||||
float duration,
|
||||
float target_value, float* subject,
|
||||
enum menu_animation_easing_type easing_enum,
|
||||
unsigned tag, tween_cb cb);
|
||||
int tag, tween_cb cb);
|
||||
|
||||
bool menu_animation_update(
|
||||
menu_animation_t *animation,
|
||||
|
Loading…
x
Reference in New Issue
Block a user