]> git.sesse.net Git - vlc/blobdiff - include/vlc_objects.h
remove pile of warnings and GCCism
[vlc] / include / vlc_objects.h
index a5082745a8b656b797a030d75484a002e019685d..b5464b94ec52e5b3660008a69a47788e42c4fba5 100644 (file)
@@ -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) )