(menu_animation.c) cast str_len to size_t

This commit is contained in:
twinaphex 2015-09-06 16:14:11 +02:00
parent 25258354b4
commit c62e4aa761

View File

@ -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;