From fdabacb8478b52116ab86de16d6b25743463c8a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 9 Feb 2010 20:05:32 +0200 Subject: [PATCH] Fix warning (and maybe fix a bug too) --- src/misc/variables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5