diff input/input.c @ 18885:5c8acc972551

rm unnecesary casts from void* - part 4
author reynaldo
date Mon, 03 Jul 2006 13:21:54 +0000
parents 3bf0d70b4c7f
children e60c8c7399d2
line wrap: on
line diff
--- a/input/input.c	Sun Jul 02 20:31:02 2006 +0000
+++ b/input/input.c	Mon Jul 03 13:21:54 2006 +0000
@@ -631,7 +631,7 @@
 
   cmd_def = &mp_cmds[i];
 
-  cmd = (mp_cmd_t*)calloc(1, sizeof(mp_cmd_t));
+  cmd = calloc(1, sizeof(mp_cmd_t));
   cmd->id = cmd_def->id;
   cmd->name = strdup(cmd_def->name);
   cmd->pausing = pausing;