Changeset 26bc39402794f4c89e54c6ada4be8ce3a37d2749

Show
Ignore:
Timestamp:
05/27/07 19:19:07 (1 year ago)
Author:
Laurent Aimar <fenrir@videolan.org>
git-committer:
Laurent Aimar <fenrir@videolan.org> 1180286347 +0000
git-parent:

[d27ab7811427daa346f6a351d0b75117440aba97]

git-author:
Laurent Aimar <fenrir@videolan.org> 1180286347 +0000
Message:

Compilation warning fixes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/codec/speex.c

    rd3fe7f2 r26bc394  
    642642    const SpeexMode *p_speex_mode = &speex_nb_mode; 
    643643    int i_quality, i; 
    644     char *pp_header[2]; 
     644    const char *pp_header[2]; 
    645645    int pi_header[2]; 
    646646    uint8_t *p_extra; 
  • modules/control/telnet.c

    r9025fab r26bc394  
    117117 
    118118static char *MessageToString( vlm_message_t *, int ); 
    119 static void Write_message( telnet_client_t *, vlm_message_t *, char *, int ); 
     119static void Write_message( telnet_client_t *, vlm_message_t *, const char *, int ); 
    120120 
    121121struct intf_sys_t 
     
    501501 
    502502static void Write_message( telnet_client_t *client, vlm_message_t *message, 
    503                            char *string_message, int i_mode ) 
     503                           const char *string_message, int i_mode ) 
    504504{ 
    505505    char *psz_message; 
  • modules/demux/wav.c

    rf64ef86 r26bc394  
    104104    uint8_t     *p_peek; 
    105105    unsigned int i_size, i_extended; 
    106     char        *psz_name; 
     106    const char        *psz_name; 
    107107 
    108108    WAVEFORMATEXTENSIBLE *p_wf_ext; 
  • modules/gui/ncurses.c

    r9025fab r26bc394  
    8383static playlist_item_t *PlaylistGetRoot( intf_thread_t * ); 
    8484static void PlaylistRebuild( intf_thread_t * ); 
    85 static void PlaylistAddNode( intf_thread_t *, playlist_item_t *, int, char *); 
     85static void PlaylistAddNode( intf_thread_t *, playlist_item_t *, int, const char *); 
    8686static void PlaylistDestroy( intf_thread_t * ); 
    8787static int  PlaylistChanged( vlc_object_t *, const char *, vlc_value_t, 
     
    16671667 
    16681668static void PlaylistAddNode( intf_thread_t *p_intf, playlist_item_t *p_node, 
    1669                              int i, char *c ) 
     1669                             int i, const char *c ) 
    16701670{ 
    16711671    intf_sys_t *p_sys = p_intf->p_sys; 
     
    19041904    if( p_sys->psz_current_dir && *p_sys->psz_current_dir ) 
    19051905    { 
    1906         const char *psz_entry; 
     1906        char *psz_entry; 
    19071907 
    19081908        /* Open the dir */ 
  • modules/meta_engine/id3genres.h

    rb45afc2 r26bc394  
    2525#define NUM_GENRES 80 
    2626 
    27 static char *ppsz_genres[] = { 
     27static const char *ppsz_genres[] = { 
    2828    N_("Blues"), 
    2929    N_("Classic rock"), 
  • modules/video_filter/osdmenu.c

    r88f28f6 r26bc394  
    7272 
    7373static int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 }; 
    74 static char *ppsz_pos_descriptions[] = 
     74static const char *ppsz_pos_descriptions[] = 
    7575{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"), 
    7676  N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") }; 
  • modules/visualization/visual/visual.c

    rc09b9f6 r26bc394  
    167167static struct 
    168168{ 
    169     char *psz_name; 
     169    const char *psz_name; 
    170170    int  (*pf_run)( visual_effect_t *, aout_instance_t *, 
    171171                    aout_buffer_t *, picture_t *);