(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;
|
unsigned i;
|
||||||
|
|
||||||
|
@ -351,7 +351,7 @@ bool menu_animation_push(menu_animation_t *anim,
|
||||||
float duration,
|
float duration,
|
||||||
float target_value, float* subject,
|
float target_value, float* subject,
|
||||||
enum menu_animation_easing_type easing_enum,
|
enum menu_animation_easing_type easing_enum,
|
||||||
unsigned tag, tween_cb cb)
|
int tag, tween_cb cb)
|
||||||
{
|
{
|
||||||
struct tween t;
|
struct tween t;
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ struct tween
|
||||||
float initial_value;
|
float initial_value;
|
||||||
float target_value;
|
float target_value;
|
||||||
float* subject;
|
float* subject;
|
||||||
unsigned tag;
|
int tag;
|
||||||
easingFunc easing;
|
easingFunc easing;
|
||||||
tween_cb cb;
|
tween_cb cb;
|
||||||
};
|
};
|
||||||
|
@ -120,7 +120,7 @@ void menu_animation_kill_by_subject(
|
||||||
size_t count,
|
size_t count,
|
||||||
const void *subjects);
|
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 */
|
/* Use -1 for untagged */
|
||||||
bool menu_animation_push(
|
bool menu_animation_push(
|
||||||
|
@ -128,7 +128,7 @@ bool menu_animation_push(
|
||||||
float duration,
|
float duration,
|
||||||
float target_value, float* subject,
|
float target_value, float* subject,
|
||||||
enum menu_animation_easing_type easing_enum,
|
enum menu_animation_easing_type easing_enum,
|
||||||
unsigned tag, tween_cb cb);
|
int tag, tween_cb cb);
|
||||||
|
|
||||||
bool menu_animation_update(
|
bool menu_animation_update(
|
||||||
menu_animation_t *animation,
|
menu_animation_t *animation,
|
||||||
|
|
Loading…
Reference in New Issue