mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
(menu_animation.c) cast str_len to size_t
This commit is contained in:
parent
25258354b4
commit
c62e4aa761
@ -623,7 +623,7 @@ void menu_animation_ticker_str(char *s, size_t len, uint64_t idx,
|
||||
int str_len = strlen(str);
|
||||
int offset = 0;
|
||||
|
||||
if (str_len <= len)
|
||||
if ((size_t)str_len <= len)
|
||||
{
|
||||
strlcpy(s, str, len + 1);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user