[vlc-devel] commit: Fix warning (and maybe fix a bug too) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Feb 9 20:22:30 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 9 20:05:32 2010 +0200| [fdabacb8478b52116ab86de16d6b25743463c8a0] | committer: Rémi Denis-Courmont
Fix warning (and maybe fix a bug too)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fdabacb8478b52116ab86de16d6b25743463c8a0
---
src/misc/variables.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/variables.c b/src/misc/variables.c
index 17f45a5..f227041 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
More information about the vlc-devel
mailing list