[MPlayer-cvslog] r36939 - in trunk/gui: interface.c win32/gui.c

ib subversion at mplayerhq.hu
Tue Feb 25 18:10:39 CET 2014


Author: ib
Date: Tue Feb 25 18:10:39 2014
New Revision: 36939

Log:
Cast appropriately.

Modified:
   trunk/gui/interface.c
   trunk/gui/win32/gui.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Tue Feb 25 17:12:33 2014	(r36938)
+++ trunk/gui/interface.c	Tue Feb 25 18:10:39 2014	(r36939)
@@ -183,7 +183,7 @@ void guiInit(void)
     uiPlaybarInit();
     uiMenuInit();
 
-    WinID = guiApp.videoWindow.WindowID;
+    WinID = (Window)guiApp.videoWindow.WindowID;
 
     btnModify(evSetVolume, guiInfo.Volume);
     btnModify(evSetBalance, guiInfo.Balance);

Modified: trunk/gui/win32/gui.c
==============================================================================
--- trunk/gui/win32/gui.c	Tue Feb 25 17:12:33 2014	(r36938)
+++ trunk/gui/win32/gui.c	Tue Feb 25 18:10:39 2014	(r36939)
@@ -1462,7 +1462,7 @@ int create_videowindow(gui_t *gui)
     DragAcceptFiles(gui->videowindow, TRUE);
 
     if(video_window)
-        WinID = gui->videowindow;
+        WinID = (INT_PTR) gui->videowindow;
     ShowWindow(gui->videowindow, SW_SHOW);
     UpdateWindow(gui->videowindow);
     return 0;


More information about the MPlayer-cvslog mailing list