X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc%2Fobjects.c;h=eb22972093abe6cf8d8ec7d6dddf2b40d366daee;hb=be50cf5ba79d4e1203b87d9b32e7b921d1bc4854;hp=27e39c326b34ef0f7743f130fd47e75849d71cd0;hpb=2ff0745fad56fe093646e1d774cf4c6282c71eb2;p=vlc diff --git a/src/misc/objects.c b/src/misc/objects.c index 27e39c326b..eb22972093 100644 --- a/src/misc/objects.c +++ b/src/misc/objects.c @@ -1207,8 +1207,9 @@ static void PrintObject( vlc_object_t *p_this, const char *psz_prefix ) snprintf( psz_refcount, 19, ", refcount %i", p_this->i_refcount ); psz_thread[0] = '\0'; - if( p_this->b_thread ) - snprintf( psz_thread, 29, " (thread %d)", (int)p_this->thread_id ); + if( p_this->p_internals->b_thread ) + snprintf( psz_thread, 29, " (thread %u)", + (unsigned)p_this->p_internals->thread_id ); psz_parent[0] = '\0'; if( p_this->p_parent )