[vlc-devel] commit: objects: vlc_object_yield() returns the same object type. (Pierre d 'Herbemont )

git version control git at videolan.org
Sat Sep 20 19:01:14 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Sep 20 19:02:36 2008 +0200| [77e710083e01461f3bcda759177866f4c90a0878] | committer: Pierre d'Herbemont 

objects: vlc_object_yield() returns the same object type.

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

 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 4e632f8..080bb54 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_yield(a) \
-    __vlc_object_yield( VLC_OBJECT(a) )
+    (typeof(a))__vlc_object_yield( VLC_OBJECT(a) )
 
 #define vlc_object_release(a) \
     __vlc_object_release( VLC_OBJECT(a) )




More information about the vlc-devel mailing list