1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-06 13:13:57 +00:00

Merge pull request from jdgleaver/comparison-warning-fix

'comparison of integer expressions of different signedness' warning fix
This commit is contained in:
Autechre 2020-08-05 13:52:16 +02:00 committed by GitHub
commit 5d726bca45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -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 */

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