Mercurial > mplayer.hg
diff parser-cfg.c @ 23806:0a38ad149c5c
Remove some more useless *alloc casts
author | reimar |
---|---|
date | Thu, 19 Jul 2007 13:52:39 +0000 |
parents | a6911070ac6e |
children | 65d1238b3631 |
line wrap: on
line diff
--- a/parser-cfg.c Thu Jul 19 07:24:43 2007 +0000 +++ b/parser-cfg.c Thu Jul 19 13:52:39 2007 +0000 @@ -69,7 +69,7 @@ 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;