]> git.sesse.net Git - vlc/blobdiff - src/misc/variables.c
Fix warning (and maybe fix a bug too)
[vlc] / src / misc / variables.c
index 17f45a5e73059dfe8b4b6ae58901a6a910d9f1cc..f2270418b445b830aa12b3fe1ae77c35880fce52 100644 (file)
@@ -278,7 +278,7 @@ int var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
         default:
             p_var->ops = &void_ops;
 #ifndef NDEBUG
-            if( i_type & VLC_VAR_CLASS  != VLC_VAR_VOID )
+            if( (i_type & VLC_VAR_CLASS) != VLC_VAR_VOID )
                 msg_Err( p_this, "Creating the variable '%s' without a type",
                           psz_name );
 #endif