From b5c0d68d4eaffc2334ec3f558c54447560269ae9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 14 Jun 2008 16:11:17 -0700 Subject: [PATCH] Kill warnings. --- modules/demux/ps.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/demux/ps.h b/modules/demux/ps.h index 067c729b72..a3559b9a73 100644 --- a/modules/demux/ps.h +++ b/modules/demux/ps.h @@ -192,8 +192,7 @@ static inline int ps_pkt_id( block_t *p_pkt ) { /* ISO 13818 amendment 2 and SMPTE RP 227 */ const uint8_t i_flags = p_pkt->p_buffer[7]; - int i_skip = 9; - + unsigned int i_skip = 9; /* Find PES extension */ if( (i_flags & 0x80 ) ) @@ -341,7 +340,7 @@ static inline int ps_pkt_parse_system( block_t *p_pkt, ps_psm_t *p_psm, static inline int ps_pkt_parse_pes( block_t *p_pes, int i_skip_extra ) { uint8_t header[30]; - int i_skip = 0; + unsigned int i_skip = 0; memcpy( header, p_pes->p_buffer, __MIN( p_pes->i_buffer, 30 ) ); -- 2.39.2