[vlc-devel] [PATCH] skins2(os2): fix compilation

KO Myung-Hun komh78 at gmail.com
Sun Jul 1 08:53:00 CEST 2018


---
 modules/gui/skins2/os2/os2_window.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/skins2/os2/os2_window.hpp b/modules/gui/skins2/os2/os2_window.hpp
index 9c21243507..7f26847aa1 100644
--- a/modules/gui/skins2/os2/os2_window.hpp
+++ b/modules/gui/skins2/os2/os2_window.hpp
@@ -64,11 +64,11 @@ public:
     void setOSHandle( vout_window_t *pWnd ) const {
         pWnd->type = VOUT_WINDOW_TYPE_HWND;
         pWnd->info.has_double_click = true;
-        pWnd->handle.hwnd = getHandle();
+        pWnd->handle.hwnd = ( void * )getHandle();
     }
 
     /// reparent the window
-    void reparent( void* OSHandle, int x, int y, int w, int h );
+    void reparent( OSWindow *parent, int x, int y, int w, int h );
 
     /// invalidate a window surface
     bool invalidateRect( int x, int y, int w, int h ) const;
-- 
2.13.3



More information about the vlc-devel mailing list