]> git.sesse.net Git - vlc/blobdiff - modules/access/fake.c
Use native C/C++ boolean type
[vlc] / modules / access / fake.c
index 93ae8516837152710ec2b0b2077a7366d9ba6613..d5cf5c313ea834759966d816673be27c857c2992 100644 (file)
@@ -153,7 +153,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             return VLC_SUCCESS;
 
         case DEMUX_SET_PAUSE_STATE:
-            b = (vlc_bool_t)va_arg( args, vlc_bool_t );
+            b = (bool)va_arg( args, int );
             if ( b )
             {
                 p_sys->i_pause_pts = mdate();