diff gui/interface.c @ 35761:fa2e5b53b2e3

Remove unnecessary cast.
author ib
date Thu, 24 Jan 2013 16:59:28 +0000
parents 1aedd24c032b
children 6742a91ba28a
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;