Changeset 5b4900edd0909de1919f9b45881385e1c27d9133

Show
Ignore:
Timestamp:
06/12/03 23:50:08 (5 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1070751008 +0000
git-parent:

[25cada61acd8ab9c0b337ec903381cc81c51f523]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1070751008 +0000
Message:

Fixed compiler waring about signed - unsigned comparision. It is always safer to use the same datatype when comparing values.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access_output/http.c

    rfb88af7 r5b4900e  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001-2003 VideoLAN 
    5  * $Id: http.c,v 1.7 2003/08/25 01:33:25 fenrir Exp $ 
     5 * $Id: http.c,v 1.8 2003/12/06 22:50:08 jpsaman Exp $ 
    66 * 
    77 * Authors: Laurent Aimar <fenrir@via.ecp.fr> 
     
    299299                p_sys->b_header_complete = VLC_FALSE; 
    300300            } 
    301             if( p_buffer->i_size + p_sys->i_header_size > p_sys->i_header_allocated ) 
     301            if( (int)(p_buffer->i_size + p_sys->i_header_size) > p_sys->i_header_allocated ) 
    302302            { 
    303303                p_sys->i_header_allocated = p_buffer->i_size + p_sys->i_header_size + 1024; 
  • modules/codec/vorbis.c

    rf228aee r5b4900e  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001-2003 VideoLAN 
    5  * $Id: vorbis.c,v 1.25 2003/11/23 15:50:07 gbazin Exp $ 
     5 * $Id: vorbis.c,v 1.26 2003/12/06 22:50:08 jpsaman Exp $ 
    66 * 
    77 * Authors: Gildas Bazin <gbazin@netcourrier.com> 
     
    643643    block_t *p_block, *p_chain = NULL; 
    644644    float **buffer; 
    645     int i, j; 
     645    int i; 
     646    unsigned int j; 
    646647 
    647648    p_sys->i_pts = p_aout_buf->start_date -