[MPlayer-cvslog] r25754 - trunk/input/input.c

reimar subversion at mplayerhq.hu
Tue Jan 15 10:27:23 CET 2008


Author: reimar
Date: Tue Jan 15 10:27:22 2008
New Revision: 25754

Log:
Remove a useless cast


Modified:
   trunk/input/input.c

Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c	(original)
+++ trunk/input/input.c	Tue Jan 15 10:27:22 2008
@@ -1486,7 +1486,7 @@ mp_input_bind_keys(int keys[MP_MAX_KEY_D
   }
   
   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];
   }



More information about the MPlayer-cvslog mailing list