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 /m_config.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 'm_config.c')
-rw-r--r-- | m_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m_config.c b/m_config.c index d1cb0e0485..feab9537e6 100644 --- a/m_config.c +++ b/m_config.c @@ -199,7 +199,7 @@ m_config_add_option(m_config_t *config, m_option_t *arg, char* prefix) { // Fill in the full name if(prefix && strlen(prefix) > 0) { int l = strlen(prefix) + 1 + strlen(arg->name) + 1; - co->name = (char*) malloc(l); + co->name = malloc(l); sprintf(co->name,"%s:%s",prefix,arg->name); } else co->name = arg->name; |