Mercurial > mplayer.hg
changeset 35761:fa2e5b53b2e3
Remove unnecessary cast.
author | ib |
---|---|
date | Thu, 24 Jan 2013 16:59:28 +0000 |
parents | 1aedd24c032b |
children | 6742a91ba28a |
files | gui/interface.c gui/ui/actions.c gui/ui/playbar.c |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Thu Jan 24 16:56:44 2013 +0000 +++ b/gui/interface.c Thu Jan 24 16:59:28 2013 +0000 @@ -192,12 +192,12 @@ mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] mainWindow ID: 0x%x\n", (int)guiApp.mainWindow.WindowID); mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] videoWindow ID: 0x%x\n", (int)guiApp.videoWindow.WindowID); - guiApp.mainWindow.DrawHandler = (void *)uiMainDraw; + guiApp.mainWindow.DrawHandler = uiMainDraw; guiApp.mainWindow.MouseHandler = uiMainMouseHandle; guiApp.mainWindow.KeyHandler = uiMainKeyHandle; guiApp.mainWindow.DNDHandler = uiDNDHandler; - guiApp.videoWindow.DrawHandler = (void *)uiVideoDraw; + guiApp.videoWindow.DrawHandler = uiVideoDraw; guiApp.videoWindow.MouseHandler = uiVideoMouseHandle; guiApp.videoWindow.KeyHandler = uiMainKeyHandle; guiApp.videoWindow.DNDHandler = uiDNDHandler;
--- a/gui/ui/actions.c Thu Jan 24 16:56:44 2013 +0000 +++ b/gui/ui/actions.c Thu Jan 24 16:59:28 2013 +0000 @@ -225,7 +225,7 @@ wsWindowShape(&guiApp.mainWindow, guiApp.main.Mask.Image); wsWindowIcon(wsDisplay, guiApp.mainWindow.WindowID, &guiIcon); - guiApp.mainWindow.DrawHandler = (void *)uiMainDraw; + guiApp.mainWindow.DrawHandler = uiMainDraw; guiApp.mainWindow.MouseHandler = uiMainMouseHandle; guiApp.mainWindow.KeyHandler = uiMainKeyHandle; guiApp.mainWindow.DNDHandler = uiDNDHandler;
--- a/gui/ui/playbar.c Thu Jan 24 16:56:44 2013 +0000 +++ b/gui/ui/playbar.c Thu Jan 24 16:59:28 2013 +0000 @@ -263,7 +263,7 @@ wsWindowShape( &guiApp.playbarWindow,guiApp.playbar.Mask.Image ); - guiApp.playbarWindow.DrawHandler=(void *)uiPlaybarDraw; + guiApp.playbarWindow.DrawHandler=uiPlaybarDraw; guiApp.playbarWindow.MouseHandler=uiPlaybarMouseHandle; guiApp.playbarWindow.KeyHandler=uiMainKeyHandle;