[vlc-commits] vlc_bits: fix invalid conversion

Francois Cartegnie git at videolan.org
Tue Oct 27 19:13:52 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 19 22:33:39 2015 +0200| [999d056fd67d041d7874be837b05ff8c7656ef00] | committer: Francois Cartegnie

vlc_bits: fix invalid conversion

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=999d056fd67d041d7874be837b05ff8c7656ef00
---

 include/vlc_bits.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_bits.h b/include/vlc_bits.h
index 90e19d2..3e0478f 100644
--- a/include/vlc_bits.h
+++ b/include/vlc_bits.h
@@ -51,7 +51,7 @@ typedef struct bs_s
 
 static inline void bs_init( bs_t *s, const void *p_data, size_t i_data )
 {
-    s->p_start = (void *)p_data;
+    s->p_start = (uint8_t *)p_data;
     s->p       = s->p_start;
     s->p_end   = s->p_start + i_data;
     s->i_left  = 8;



More information about the vlc-commits mailing list