]> git.sesse.net Git - vlc/blobdiff - src/video_output/vout_intf.c
Fix pointer-int casts warnings
[vlc] / src / video_output / vout_intf.c
index 917043da9554f5bb3f7d6741818d5665059ad5d1..5bd4af514312a418798ea976cce4289c242d9116 100644 (file)
@@ -98,7 +98,7 @@ void *vout_RequestWindow( vout_thread_t *p_vout,
 
     /* Check whether someone provided us with a window ID */
     var_Get( p_vout->p_libvlc, "drawable", &val );
-    if( val.i_int ) return (void *)val.i_int;
+    if( val.i_int ) return (void *)(intptr_t)val.i_int;
 
     /* Find if the main interface supports embedding */
     p_list = vlc_list_find( p_vout, VLC_OBJECT_INTF, FIND_ANYWHERE );