Commit 7f76dd24 authored by Antoine Cellerier's avatar Antoine Cellerier

* fix signedness gcc warning

parent 2729ff69
...@@ -234,7 +234,8 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block ) ...@@ -234,7 +234,8 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
} }
/* Should be resiliant against bad subtitles */ /* Should be resiliant against bad subtitles */
psz_subtitle = strndup( p_block->p_buffer, p_block->i_buffer ); psz_subtitle = strndup( (const char *)p_block->p_buffer,
p_block->i_buffer );
i_align_h = p_sys->i_align ? 20 : 0; i_align_h = p_sys->i_align ? 20 : 0;
i_align_v = 10; i_align_v = 10;
......
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