[vlc-commits] fix pointer sign warning

Rafaël Carré git at videolan.org
Mon Nov 14 07:27:23 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Nov 14 00:57:09 2011 -0500| [5b65f2b957a2443344b452a8a84d0f2f12d70386] | committer: Rafaël Carré

fix pointer sign warning

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

 modules/codec/realvideo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/realvideo.c b/modules/codec/realvideo.c
index 98a6a9a..c4d1744 100644
--- a/modules/codec/realvideo.c
+++ b/modules/codec/realvideo.c
@@ -461,7 +461,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
         dp_hdr_t dp_hdr;
         transform_in_t transform_in;
         uint32_t pkg_len = ((uint32_t*)p_block->p_buffer)[0];
-        unsigned char* dp_data=((unsigned char*)p_block->p_buffer)+8;
+        char* dp_data=((char*)p_block->p_buffer)+8;
         uint32_t* extra=(uint32_t*)(((char*)p_block->p_buffer)+8+pkg_len);
         uint32_t img_size;
 



More information about the vlc-commits mailing list