Commit 5b65f2b9 authored by Rafaël Carré's avatar Rafaël Carré

fix pointer sign warning

parent a2f42a53
......@@ -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;
......
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