[vlc-devel] commit: VLC_OBJECT: add missing parenthesis ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed May 7 19:57:22 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed May  7 20:58:05 2008 +0300| [f802543426dafb0c5c1d833d27c038ef925c4b23]

VLC_OBJECT: add missing parenthesis

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f802543426dafb0c5c1d833d27c038ef925c4b23
---

 include/vlc_common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index 7f61b3c..fab2730 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -494,7 +494,7 @@ typedef struct vlc_object_internals_t vlc_object_internals_t;
 
 /* VLC_OBJECT: attempt at doing a clever cast */
 #define VLC_OBJECT( x ) \
-    ((vlc_object_t *)(x))+0*(x)->be_sure_to_add_VLC_COMMON_MEMBERS_to_struct
+    (((vlc_object_t *)(x))+0*(x)->be_sure_to_add_VLC_COMMON_MEMBERS_to_struct)
 
 #define VLC_GC_MEMBERS                                                       \
 /** \name VLC_GC_MEMBERS                                                     \




More information about the vlc-devel mailing list