From: RĂ©mi Denis-Courmont Date: Tue, 9 Feb 2010 18:05:32 +0000 (+0200) Subject: Fix warning (and maybe fix a bug too) X-Git-Tag: 1.1.0-ff~247 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fdabacb8478b52116ab86de16d6b25743463c8a0;p=vlc Fix warning (and maybe fix a bug too) --- diff --git a/src/misc/variables.c b/src/misc/variables.c index 17f45a5e73..f2270418b4 100644 --- a/src/misc/variables.c +++ b/src/misc/variables.c @@ -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