Mercurial > mplayer.hg
diff input/input.c @ 25726:831e4eaa70a9
Remove a useless cast
author | reimar |
---|---|
date | Tue, 15 Jan 2008 09:27:22 +0000 |
parents | 24ee00528e18 |
children | 6201cc9cca7f |
line wrap: on
line diff
--- a/input/input.c Mon Jan 14 23:08:24 2008 +0000 +++ b/input/input.c Tue Jan 15 09:27:22 2008 +0000 @@ -1486,7 +1486,7 @@ } if(!bind) { - bind_section->cmd_binds = (mp_cmd_bind_t*)realloc(bind_section->cmd_binds,(i+2)*sizeof(mp_cmd_bind_t)); + bind_section->cmd_binds = realloc(bind_section->cmd_binds,(i+2)*sizeof(mp_cmd_bind_t)); memset(&bind_section->cmd_binds[i],0,2*sizeof(mp_cmd_bind_t)); bind = &bind_section->cmd_binds[i]; }