Change menu_navigation_get_selection's return type to size_t

This commit is contained in:
twinaphex 2015-09-06 16:10:53 +02:00
parent dbccc4f4f0
commit 25258354b4
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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
}