From da244c177b9721e601214159ffc21b714f13b821 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 10 Jan 2017 19:49:00 +0100 Subject: [PATCH] Fix signed/unsigned mismatch warning --- input/input_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/input_driver.c b/input/input_driver.c index 70763dc868..43b0d37d2a 100644 --- a/input/input_driver.c +++ b/input/input_driver.c @@ -550,7 +550,7 @@ static INLINE bool input_menu_keys_pressed_internal( ) { unsigned port; - int port_max = all_users_control_menu ? max_users : 1; + unsigned port_max = all_users_control_menu ? max_users : 1; for (port = 0; port < port_max; port++) {