mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Remove a useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25754 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -1486,7 +1486,7 @@ mp_input_bind_keys(int keys[MP_MAX_KEY_DOWN+1], char* cmd) {
|
||||
}
|
||||
|
||||
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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user