Changeset 2a7d4c72bd93525af365d7917a2a5c6e3c130ce8

Show
Ignore:
Timestamp:
29/08/06 10:50:20 (2 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1156841420 +0000
git-parent:

[f407de16bc47d3f9bc7b8a2ee67a71de5ca3fc62]

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

Fix compiler warnings about signed - unsigned comparissons and wrong datatypes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/avi/avi.c

    r2d824ac r2a7d4c7  
    18381838 ****************************************************************************/ 
    18391839static void AVI_ParseStreamHeader( vlc_fourcc_t i_id, 
    1840                                    int *pi_number, int *pi_type ) 
     1840                                   unsigned int *pi_number, unsigned int *pi_type ) 
    18411841{ 
    18421842#define SET_PTR( p, v ) if( p ) *(p) = (v); 
  • modules/demux/mjpeg.c

    r0ade81b r2a7d4c7  
    158158        return NULL; 
    159159    } 
    160     strncpy ( p_line, p_buf, i ); 
     160    strncpy ( p_line, (char*)p_buf, i ); 
    161161    p_line[i] = '\0'; 
    162162//    msg_Dbg( p_demux, "i = %d, pos = %d, %s", i, *p_pos, p_line ); 
  • modules/demux/mp4/drms.c

    r31c9936 r2a7d4c7  
    15231523     * MD5 hash will be our system key. */ 
    15241524    InitMD5( &md5 ); 
    1525     AddMD5( &md5, p_secret5, 8 ); 
     1525    AddMD5( &md5, (uint8_t*)p_secret5, 8 ); 
    15261526 
    15271527    if( !b_ipod ) 
     
    15301530        AddMD5( &md5, (uint8_t *)p_system_hash, 6 ); 
    15311531        AddMD5( &md5, (uint8_t *)p_system_hash, 6 ); 
    1532         AddMD5( &md5, p_secret6, 8 ); 
     1532        AddMD5( &md5, (uint8_t *)p_secret6, 8 ); 
    15331533    } 
    15341534    else 
  • modules/demux/mp4/mp4.c

    r7a6937c r2a7d4c7  
    652652 
    653653                            /* convert \r -> \n */ 
    654                             while( ( p = strchr( p_block->p_buffer, '\r' ) ) ) 
     654                            while( ( p = strchr((char *) p_block->p_buffer, '\r' ) ) ) 
    655655                            { 
    656656                                *p = '\n'; 
  • modules/demux/playlist/xspf.h

    rf0ddd61 r2a7d4c7  
    4949static vlc_bool_t set_item_info SIMPLE_INTERFACE; 
    5050static vlc_bool_t skip_element COMPLEX_INTERFACE; 
    51 static vlc_bool_t insert_new_item( playlist_t *, playlist_item_t *, playlist_item_t **, char *); 
    5251 
    5352/* datatypes */