From 917e29c039dd104a3a3e03fed07c66823996871b Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 4 Aug 2025 06:57:29 +0200 Subject: [PATCH] Try to silence some more warnings --- gfx/drivers/gl2.c | 2 +- menu/menu_driver.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/drivers/gl2.c b/gfx/drivers/gl2.c index 715c14586e..73c07643ad 100644 --- a/gfx/drivers/gl2.c +++ b/gfx/drivers/gl2.c @@ -2317,7 +2317,7 @@ static void gl2_renderchain_copy_frame( { /* Slow path - conv_buffer is preallocated * just in case we hit this path. */ - int h; + size_t h; const unsigned line_bytes = width * gl->base_size; uint8_t *dst = (uint8_t*)gl->conv_buffer; const uint8_t *src = (const uint8_t*)frame; diff --git a/menu/menu_driver.h b/menu/menu_driver.h index 1f6127d691..ca6abff84a 100644 --- a/menu/menu_driver.h +++ b/menu/menu_driver.h @@ -511,7 +511,7 @@ struct menu_state menu_dialog_t dialog_st; enum menu_action prev_action; #ifdef HAVE_RUNAHEAD - enum menu_runahead_mode runahead_mode; + unsigned int runahead_mode; #endif /* int16_t alignment */