mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +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…
x
Reference in New Issue
Block a user