menu_context.c - make C++ compatible

This commit is contained in:
twinaphex 2013-09-29 17:50:29 +02:00
parent 68ea997b83
commit 4271a4c15b

View File

@ -55,7 +55,7 @@ bool menu_ctx_init_first(const menu_ctx_driver_t **driver, rgui_handle_t **handl
if (h) if (h)
{ {
*driver = menu_ctx_drivers[i]; *driver = menu_ctx_drivers[i];
*handle = h; *handle = (rgui_handle_t*)h;
return true; return true;
} }
} }