]> git.sesse.net Git - vlc/commitdiff
Fix warning (and maybe fix a bug too)
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 9 Feb 2010 18:05:32 +0000 (20:05 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 9 Feb 2010 19:10:40 +0000 (21:10 +0200)
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