changeset 25726:831e4eaa70a9

Remove a useless cast
author reimar
date Tue, 15 Jan 2008 09:27:22 +0000
parents be5262a6034f
children 7934f12c76f0
files input/input.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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];
   }