From 4271a4c15bfef1fc81a00d3539977b43834ee01c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 29 Sep 2013 17:50:29 +0200 Subject: [PATCH] menu_context.c - make C++ compatible --- frontend/menu/menu_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/menu/menu_context.c b/frontend/menu/menu_context.c index db3d287a14..cc74607f50 100644 --- a/frontend/menu/menu_context.c +++ b/frontend/menu/menu_context.c @@ -55,7 +55,7 @@ bool menu_ctx_init_first(const menu_ctx_driver_t **driver, rgui_handle_t **handl if (h) { *driver = menu_ctx_drivers[i]; - *handle = h; + *handle = (rgui_handle_t*)h; return true; } }