summaryrefslogtreecommitdiffstats
path: root/parser-cfg.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-31 09:40:04 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-31 09:40:04 +0000
commit7d0270087d3c0f0c625577dfed4e1b3508e659cc (patch)
tree3e3bd53f659c73b915608e720dba779dad240bc0 /parser-cfg.c
parent5babf10d754880eb2b5e0e24842acfd6af0f1a56 (diff)
downloadmpv-7d0270087d3c0f0c625577dfed4e1b3508e659cc.tar.bz2
mpv-7d0270087d3c0f0c625577dfed4e1b3508e659cc.tar.xz
Make m_config_parse_config_file file name argument const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29601 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'parser-cfg.c')
-rw-r--r--parser-cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser-cfg.c b/parser-cfg.c
index 2b1f354d85..ff3d9f2d34 100644
--- a/parser-cfg.c
+++ b/parser-cfg.c
@@ -35,7 +35,7 @@ static int recursion_depth = 0;
* \param conffile Path to the config file.
* \return 1 on sucess, -1 on error.
*/
-int m_config_parse_config_file(m_config_t* config, char *conffile)
+int m_config_parse_config_file(m_config_t* config, const char *conffile)
{
#define PRINT_LINENUM mp_msg(MSGT_CFGPARSER,MSGL_V,"%s(%d): ", conffile, line_num)
#define MAX_LINE_LEN 10000