Skip to content
Snippets Groups Projects
Commit 98b2285f authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

vlc_bits: fix a bad cast when included from C++


Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f13c172e
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,8 @@ static inline void bs_write_init( bs_t *s, void *p_data, size_t i_data )
s->p_end = s->p_start + i_data;
s->i_left = 8;
s->b_read_only = false;
s->pf_forward = s->p_fwpriv = NULL;
s->p_fwpriv = NULL;
s->pf_forward = NULL;
}
static inline void bs_init( bs_t *s, const void *p_data, size_t i_data )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment