diff --git a/menu/menu_navigation.c b/menu/menu_navigation.c index b4b3c2ec29..4a6bd3a781 100644 --- a/menu/menu_navigation.c +++ b/menu/menu_navigation.c @@ -254,7 +254,7 @@ void menu_navigation_ascend_alphabet(menu_navigation_t *nav, size_t *ptr_out) menu_driver_navigation_ascend_alphabet(ptr_out); } -ssize_t menu_navigation_get_selection(menu_navigation_t *nav) +size_t menu_navigation_get_selection(menu_navigation_t *nav) { if (!nav) return -1; diff --git a/menu/menu_navigation.h b/menu/menu_navigation.h index 19d7fe837e..772c7a102b 100644 --- a/menu/menu_navigation.h +++ b/menu/menu_navigation.h @@ -106,7 +106,7 @@ void menu_navigation_descend_alphabet(menu_navigation_t *nav, size_t *ptr_out); **/ void menu_navigation_ascend_alphabet(menu_navigation_t *nav, size_t *ptr_out); -ssize_t menu_navigation_get_selection(menu_navigation_t *nav); +size_t menu_navigation_get_selection(menu_navigation_t *nav); #ifdef __cplusplus }