'comparison of integer expressions of different signedness' warning fix

This commit is contained in:
jdgleaver 2020-08-05 09:55:06 +01:00
parent 2f16bc62cf
commit ada08e1c6f
2 changed files with 2 additions and 2 deletions

View File

@ -1756,7 +1756,7 @@ bool gfx_animation_ticker_smooth(gfx_animation_ctx_ticker_smooth_t *ticker)
if (period_width < 0)
goto end;
if (ticker->field_width < (3 * period_width))
if (ticker->field_width < (3 * (unsigned)period_width))
goto end;
/* Determine number of characters to copy */

View File

@ -43,7 +43,7 @@
typedef struct
{
gfx_thumbnail_t *thumbnail;
retro_time_t list_id;
uint64_t list_id;
} gfx_thumbnail_tag_t;
/* Setters */