[vlc-commits] commit: ncurses: use const, silence a warning ( Rafaël Carré )

git at videolan.org git at videolan.org
Wed Jun 30 06:10:03 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Jun 30 06:07:13 2010 +0200| [e4fb597bfba8715c99b900b767dcd931aa45cf93] | committer: Rafaël Carré 

ncurses: use const, silence a warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4fb597bfba8715c99b900b767dcd931aa45cf93
---

 modules/gui/ncurses.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index def55d5..25967a9 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1745,7 +1745,7 @@ static void Redraw( intf_thread_t *p_intf, time_t *t_last_refresh )
             for( i=0; i<VLC_META_TYPE_COUNT; i++ )
             {
                 if( y >= y_end ) break;
-                char *psz_meta = vlc_meta_Get( p_item->p_meta, i );
+                const char *psz_meta = vlc_meta_Get( p_item->p_meta, i );
                 if( psz_meta && *psz_meta )
                 {
                     const char *psz_meta_title;



More information about the vlc-commits mailing list