[vlc-commits] ncurses: missing const

Rémi Denis-Courmont git at videolan.org
Sun Jun 10 12:11:15 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun  9 15:54:18 2018 +0300| [7b9b1e3004d32d50cc4746c4647dc9dc1461398b] | committer: Rémi Denis-Courmont

ncurses: missing const

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

 modules/gui/ncurses.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 5b50f5a52e..6f965dcfe7 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1021,7 +1021,7 @@ static int DrawStatus(intf_thread_t *intf, input_thread_t *p_input)
 {
     intf_sys_t     *sys = intf->p_sys;
     playlist_t     *p_playlist = pl_Get(intf);
-    char *name = _("VLC media player");
+    const char *name = _("VLC media player");
     const size_t name_len = strlen(name) + sizeof(PACKAGE_VERSION);
     int y = 0;
     const char *repeat, *loop, *random;



More information about the vlc-commits mailing list