From: Pierre d'Herbemont Date: Sat, 20 Sep 2008 17:02:36 +0000 (+0200) Subject: objects: vlc_object_yield() returns the same object type. X-Git-Tag: 1.0.0-pre1~3063 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=77e710083e01461f3bcda759177866f4c90a0878;p=vlc objects: vlc_object_yield() returns the same object type. --- diff --git a/include/vlc_objects.h b/include/vlc_objects.h index 4e632f8f7a..080bb5463d 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) )