diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-07-19 13:52:39 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-07-19 13:52:39 +0000 |
commit | e607c7289f5fa7487f810eff2f1e71970cf0645b (patch) | |
tree | a527ed50daef75535706d0f8410fc32a60a73d70 /parser-cfg.c | |
parent | 7de92dc41c3a1c9ff9b3a0f0b928f696768170c5 (diff) | |
download | mpv-e607c7289f5fa7487f810eff2f1e71970cf0645b.tar.bz2 mpv-e607c7289f5fa7487f810eff2f1e71970cf0645b.tar.xz |
Remove some more useless *alloc casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23826 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'parser-cfg.c')
-rw-r--r-- | parser-cfg.c | 2 |
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; |