From ada08e1c6f9686b2b25c950b34f3bafe12027a9a Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Wed, 5 Aug 2020 09:55:06 +0100 Subject: [PATCH] 'comparison of integer expressions of different signedness' warning fix --- gfx/gfx_animation.c | 2 +- gfx/gfx_thumbnail.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/gfx_animation.c b/gfx/gfx_animation.c index 96b501dca7..5ab7c189ae 100644 --- a/gfx/gfx_animation.c +++ b/gfx/gfx_animation.c @@ -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 */ diff --git a/gfx/gfx_thumbnail.c b/gfx/gfx_thumbnail.c index 98c686abad..31fd7e8cc0 100644 --- a/gfx/gfx_thumbnail.c +++ b/gfx/gfx_thumbnail.c @@ -43,7 +43,7 @@ typedef struct { gfx_thumbnail_t *thumbnail; - retro_time_t list_id; + uint64_t list_id; } gfx_thumbnail_tag_t; /* Setters */