# HG changeset patch # User ib # Date 1359046768 0 # Node ID fa2e5b53b2e3aca3957fe684b6a78eda2bbc3547 # Parent 1aedd24c032b1e3076b500c5f195adebb427aed0 Remove unnecessary cast. diff -r 1aedd24c032b -r fa2e5b53b2e3 gui/interface.c --- 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; diff -r 1aedd24c032b -r fa2e5b53b2e3 gui/ui/actions.c --- 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; diff -r 1aedd24c032b -r fa2e5b53b2e3 gui/ui/playbar.c --- 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;