Commit 5b4900ed authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fixed compiler waring about signed - unsigned comparision. It is always safer...

Fixed compiler waring about signed - unsigned comparision. It is always safer to use the same datatype when comparing values.
parent 25cada61
......@@ -2,7 +2,7 @@
* http.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: http.c,v 1.7 2003/08/25 01:33:25 fenrir Exp $
* $Id: http.c,v 1.8 2003/12/06 22:50:08 jpsaman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -298,7 +298,7 @@ static int Write( sout_access_out_t *p_access, sout_buffer_t *p_buffer )
p_sys->i_header_size = 0;
p_sys->b_header_complete = VLC_FALSE;
}
if( p_buffer->i_size + p_sys->i_header_size > p_sys->i_header_allocated )
if( (int)(p_buffer->i_size + p_sys->i_header_size) > p_sys->i_header_allocated )
{
p_sys->i_header_allocated = p_buffer->i_size + p_sys->i_header_size + 1024;
p_sys->p_header = realloc( p_sys->p_header, p_sys->i_header_allocated );
......
......@@ -2,7 +2,7 @@
* vorbis.c: vorbis decoder/encoder/packetizer module making use of libvorbis.
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: vorbis.c,v 1.25 2003/11/23 15:50:07 gbazin Exp $
* $Id: vorbis.c,v 1.26 2003/12/06 22:50:08 jpsaman Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -642,7 +642,8 @@ static block_t *Encode( encoder_t *p_enc, aout_buffer_t *p_aout_buf )
ogg_packet oggpacket;
block_t *p_block, *p_chain = NULL;
float **buffer;
int i, j;
int i;
unsigned int j;
p_sys->i_pts = p_aout_buf->start_date -
(mtime_t)1000000 * (mtime_t)p_sys->i_samples_delay /
......
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