[vlc-commits] Fixed warning on incompatible pointer types discarding qualifiers
Maxim Bublis
git at videolan.org
Sat Nov 23 10:53:56 CET 2013
vlc | branch: master | Maxim Bublis <b at codemonkey.ru> | Sat Nov 23 00:07:23 2013 +0400| [d6a019d094973e71a45ab60d5a937961352e8536] | committer: Rémi Denis-Courmont
Fixed warning on incompatible pointer types discarding qualifiers
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d6a019d094973e71a45ab60d5a937961352e8536
---
src/input/es_out.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 5da85ea..97e6b65 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -193,7 +193,7 @@ static void EsOutDecodersStopBuffering( es_out_t *out, bool b_forced );
static char *LanguageGetName( const char *psz_code );
static char *LanguageGetCode( const char *psz_lang );
static char **LanguageSplit( const char *psz_langs, bool b_default_any );
-static int LanguageArrayIndex( char **ppsz_langs, char *psz_lang );
+static int LanguageArrayIndex( char **ppsz_langs, const char *psz_lang );
static char *EsOutProgramGetMetaName( es_out_pgrm_t *p_pgrm );
@@ -2818,7 +2818,7 @@ static char **LanguageSplit( const char *psz_langs, bool b_default_any )
return ppsz;
}
-static int LanguageArrayIndex( char **ppsz_langs, char *psz_lang )
+static int LanguageArrayIndex( char **ppsz_langs, const char *psz_lang )
{
if( !ppsz_langs || !psz_lang )
return -1;
More information about the vlc-commits
mailing list