]> git.sesse.net Git - vlc/blobdiff - modules/access/bda/bda.c
Use native C/C++ boolean type
[vlc] / modules / access / bda / bda.c
index 2d280b1cfa5f053d883932c9321e5bedd148772f..37aa9637f809f7cbb1b350ef965ff05389b9d912 100644 (file)
@@ -389,7 +389,8 @@ static int ParsePath( access_t *p_access, const char* psz_module,
     char*       psz_token;
     char*       psz_value;
     vlc_value_t v_value;
-    int         i_token_len, i_param_len, i_this_param;
+    size_t      i_token_len, i_param_len;
+    int         i_this_param;
     char        psz_full_name[128];
 
     if( i_param_count > MAXPARAM )
@@ -524,7 +525,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
 
     case ACCESS_SET_PRIVATE_ID_STATE: /* 11 */
         i_int  = (int)va_arg( args, int );
-        b_bool = (vlc_bool_t)va_arg( args, vlc_bool_t );
+        b_bool = (bool)va_arg( args, int );
         break;
     case ACCESS_SET_PRIVATE_ID_CA:  /* 12 -From Demux */
         break;