diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-13 16:17:24 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-13 16:17:24 +0000 |
commit | 241bfa8a0ca7c52c66fb48f6b9d97a0c7d8db4c2 (patch) | |
tree | 557c1d309a8eb4a749e016858ba12b5fd311d3fc /Gui/win32/interface.c | |
parent | ad0c589f6bfcaed2ecd0caf06c6dc473d040142c (diff) |
drops casts from void * on malloc/calloc from the gui code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19066 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/win32/interface.c')
-rw-r--r-- | Gui/win32/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/win32/interface.c b/Gui/win32/interface.c index 6d425340b5..f7d148f954 100644 --- a/Gui/win32/interface.c +++ b/Gui/win32/interface.c @@ -266,7 +266,7 @@ static void guiSetEvent(int event) } case evMute: { - mp_cmd_t * cmd = (mp_cmd_t *)calloc(1, sizeof(*cmd)); + mp_cmd_t * cmd = calloc(1, sizeof(*cmd)); cmd->id=MP_CMD_MUTE; cmd->name=strdup("mute"); mp_input_queue_cmd(cmd); @@ -311,7 +311,7 @@ void mplPause( void ) if(guiIntfStruct.Playing == 1) { - mp_cmd_t * cmd = (mp_cmd_t *)calloc(1, sizeof(*cmd)); + mp_cmd_t * cmd = calloc(1, sizeof(*cmd)); cmd->id=MP_CMD_PAUSE; cmd->name=strdup("pause"); mp_input_queue_cmd(cmd); |