]> git.sesse.net Git - vlc/blobdiff - modules/gui/minimal_macosx/VLCOpenGLVoutView.m
Use native C/C++ boolean type
[vlc] / modules / gui / minimal_macosx / VLCOpenGLVoutView.m
index 7da994f7c92f7822e027d96be02bb88d7e091b67..8ca901272fcdbbd4bbadfaec31f109b6318cf272 100644 (file)
@@ -147,7 +147,7 @@ int cocoaglvoutviewControl( vout_thread_t *p_vout, int i_query, va_list args )
     switch( i_query )
     {
         case VOUT_SET_STAY_ON_TOP:
-            b_arg = va_arg( args, vlc_bool_t );
+            b_arg = (bool) va_arg( args, int );
             [[p_vout->p_sys->o_glview container] setOnTop: b_arg];
             return VLC_SUCCESS;