From 6a46d6cc7e08e0a913e3d17db274f57791df8301 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Wed, 7 Mar 2007 22:52:50 +0000 Subject: [PATCH] Small warning fix. --- modules/access/http.c | 2 +- modules/access/v4l.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/access/http.c b/modules/access/http.c index dc9cb4a752..651e250647 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -903,7 +903,7 @@ static int Request( access_t *p_access, int64_t i_tell ) } else { - char *psz_path = p_sys->url.psz_path; + const char *psz_path = p_sys->url.psz_path; if( !psz_path || !*psz_path ) { psz_path = "/"; diff --git a/modules/access/v4l.c b/modules/access/v4l.c index ef4cfc1949..6c4d63314b 100644 --- a/modules/access/v4l.c +++ b/modules/access/v4l.c @@ -142,7 +142,7 @@ static void Close( vlc_object_t * ); static int i_norm_list[] = { VIDEO_MODE_AUTO, VIDEO_MODE_SECAM, VIDEO_MODE_PAL, VIDEO_MODE_NTSC }; -static char *psz_norm_list_text[] = +static const char *psz_norm_list_text[] = { N_("Automatic"), N_("SECAM"), N_("PAL"), N_("NTSC") }; vlc_module_begin(); -- 2.39.2