Commit 3d240f51 authored by aballier's avatar aballier Committed by Rafaël Carré
Browse files

Fix wx build



The ugly casting is correct wrt the vlc_object_t inheritance
Signed-off-by: Rafaël Carré's avatarRafaël Carré <funman@videolan.org>
parent 7eaca895
......@@ -586,7 +586,7 @@ PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf,
#endif
config_data->i_type = TYPE_MODULE;
config_data->p_module = config_data->b_submodule ?
p_module->p_parent : p_module;
((module_t*)((vlc_object_t*)p_module)->p_parent) : p_module;
config_data->psz_help = NULL;
/* WXMSW doesn't know image -1 ... FIXME */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment