]> git.sesse.net Git - vlc/commitdiff
Small warning fix.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 7 Mar 2007 22:52:50 +0000 (22:52 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 7 Mar 2007 22:52:50 +0000 (22:52 +0000)
modules/access/http.c
modules/access/v4l.c

index dc9cb4a7524e02ff1ea559c6b318582a145936b5..651e250647375474f71879f2d480bd2cb3b3d7f4 100644 (file)
@@ -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 = "/";
index ef4cfc1949219b70937286fccd561f72c8b50f82..6c4d63314b5793f81dec3cf9822f7ced271f9871 100644 (file)
@@ -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();