(Emscripten) Buildfix

This commit is contained in:
twinaphex 2015-09-02 12:38:32 +02:00
parent 503a7131c2
commit c276f3f8a2
2 changed files with 3 additions and 3 deletions

View File

@ -259,7 +259,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_current_selection(void)
unsigned menu_navigation_get_current_selection(void)
{
menu_navigation_t *nav = menu_navigation_get_ptr();
if (!nav)

View File

@ -34,7 +34,7 @@ typedef struct menu_navigation
} indices;
unsigned acceleration;
} scroll;
size_t selection_ptr;
unsigned selection_ptr;
} menu_navigation_t;
/**
@ -99,7 +99,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_current_selection(void);
unsigned menu_navigation_get_current_selection(void);
#ifdef __cplusplus
}