[vlc-devel] commit: remove pile of warnings and GCCism ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Sep 21 09:58:43 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 21 11:02:00 2008 +0300| [1a32d8b5b9efcb9734e235a50e1af599055bd3f4] | committer: Rémi Denis-Courmont 

remove pile of warnings and GCCism

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

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

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index a508274..b5464b9 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -111,7 +111,7 @@ VLC_EXPORT( void, vlc_list_release, ( vlc_list_t * ) );
     vlc_object_find_name( VLC_OBJECT(a),b,c)
 
 #define vlc_object_hold(a) \
-    (typeof(a))__vlc_object_hold( VLC_OBJECT(a) )
+    __vlc_object_hold( VLC_OBJECT(a) )
 
 #define vlc_object_release(a) \
     __vlc_object_release( VLC_OBJECT(a) )




More information about the vlc-devel mailing list