summaryrefslogtreecommitdiffstats
path: root/parser-cfg.c
diff options
context:
space:
mode:
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 e3988badd8..7976939106 100644
--- a/parser-cfg.c
+++ b/parser-cfg.c
@@ -69,7 +69,7 @@ int m_config_parse_config_file(m_config_t* config, char *conffile)
config->mode = M_CONFIG_FILE;
- if ((line = (char *) malloc(MAX_LINE_LEN + 1)) == NULL) {
+ if ((line = malloc(MAX_LINE_LEN + 1)) == NULL) {
mp_msg(MSGT_CFGPARSER,MSGL_FATAL,"\ncan't get memory for 'line': %s", strerror(errno));
ret = -1;
goto out;