(XMB) Fix buffer overflow

It was introduced by 3df4101 . MENU_ENTRIES_CTL_START_GET and
MENU_ENTRIES_CTL_START_GET access size_t-sized data, but an
unsigned was passed.
This commit is contained in:
Higor Eurípedes 2015-12-12 21:39:42 -03:00
parent d76d857166
commit f6421f9988

View File

@ -1535,8 +1535,8 @@ static void xmb_draw_cursor(xmb_handle_t *xmb,
static void xmb_render(void *data)
{
float delta_time, dt;
size_t selection;
unsigned i, end, height = 0;
size_t i, selection;
unsigned end, height = 0;
settings_t *settings = config_get_ptr();
xmb_handle_t *xmb = (xmb_handle_t*)data;