From 08b621f40b50947bdfe2886271d4a72db5ee3152 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Mon, 13 Nov 2006 17:25:26 +0000 Subject: [PATCH] * const char warning fix --- modules/video_output/image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/video_output/image.c b/modules/video_output/image.c index 7670a57f9e..7be8ae5be4 100644 --- a/modules/video_output/image.c +++ b/modules/video_output/image.c @@ -73,8 +73,8 @@ static void Display ( vout_thread_t *, picture_t * ); "creating one file per image. In this case, " \ "the number is not appended to the filename." ) -static char *psz_format_list[] = { "png", "jpeg" }; -static char *psz_format_list_text[] = { "PNG", "JPEG" }; +static const char *psz_format_list[] = { "png", "jpeg" }; +static const char *psz_format_list_text[] = { "PNG", "JPEG" }; vlc_module_begin( ); set_shortname( _( "Image file" ) ); -- 2.39.2