# HG changeset patch # User reimar # Date 1200389242 0 # Node ID 831e4eaa70a98d78fc0b9cb21a57b7bdbd8d2207 # Parent be5262a6034fa23394cb897b35058e053fa5174c Remove a useless cast diff -r be5262a6034f -r 831e4eaa70a9 input/input.c --- 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]; }