From: RĂ©mi Denis-Courmont Date: Sat, 5 Jul 2008 16:52:43 +0000 (+0300) Subject: Missing const X-Git-Tag: 0.9.0-test2~225 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=f6cf272a72a5db58f697c2ec3f01a9e5f13ccda7;p=vlc Missing const --- 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;