changeset 36843:1078b8dd7625

Cast appropriately.
author ib
date Tue, 25 Feb 2014 17:10:39 +0000
parents d8b2651bfeab
children 85bb765747e9
files gui/interface.c gui/win32/gui.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Tue Feb 25 16:12:33 2014 +0000
+++ b/gui/interface.c	Tue Feb 25 17:10:39 2014 +0000
@@ -183,7 +183,7 @@
     uiPlaybarInit();
     uiMenuInit();
 
-    WinID = guiApp.videoWindow.WindowID;
+    WinID = (Window)guiApp.videoWindow.WindowID;
 
     btnModify(evSetVolume, guiInfo.Volume);
     btnModify(evSetBalance, guiInfo.Balance);
--- a/gui/win32/gui.c	Tue Feb 25 16:12:33 2014 +0000
+++ b/gui/win32/gui.c	Tue Feb 25 17:10:39 2014 +0000
@@ -1462,7 +1462,7 @@
     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;