Commit 07998682 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vlc_internals(): use pointer arithmetic

parent 830bfb51
......@@ -169,7 +169,7 @@ struct vlc_object_internals_t
static inline vlc_object_internals_t *vlc_internals( vlc_object_t *obj )
{
return obj->p_internals;
return ((vlc_object_internals_t *)obj) - 1;
}
extern module_config_t libvlc_config[];
......
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