X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_objects.h;h=34149d027aa6f87ed6699e0e5c7e16eb7f4728f2;hb=af04bf606c21ff622359b0e04ff0e8933f13cf54;hp=c3b207880a3c55a6c0fb9f0b4d167592ed388515;hpb=da6732062b23f833e860da223901eeeb75eefaf7;p=vlc diff --git a/include/vlc_objects.h b/include/vlc_objects.h index c3b207880a..34149d027a 100644 --- a/include/vlc_objects.h +++ b/include/vlc_objects.h @@ -162,7 +162,7 @@ VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) ); #define vlc_object_kill(a) \ __vlc_object_kill( VLC_OBJECT(a) ) -static inline bool __vlc_object_alive (vlc_object_t *obj) +static inline bool __vlc_object_alive (const vlc_object_t *obj) { barrier (); return !obj->b_die;