]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/voutqt.m
Use native C/C++ boolean type
[vlc] / modules / gui / macosx / voutqt.m
index 6e053e76542947ed1cca6813dbff3ee24ba3de8b..88370bdc1c9504e620a07bcc55ac895c590370c2 100644 (file)
@@ -459,7 +459,7 @@ static int ControlVideo( 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_vout_view setOnTop: b_arg];
             return VLC_SUCCESS;