diff --git a/include/vlc_atomic.h b/include/vlc_atomic.h index 07a9046b39..fccd287670 100644 --- a/include/vlc_atomic.h +++ b/include/vlc_atomic.h @@ -41,7 +41,7 @@ using std::memory_order_acq_rel; #include /* vlc_atomic_timedwait_daytime */ #define VLC_STATIC_RC { \ - .refs = 0 \ + .refs = (uintptr_t) 1 \ } typedef struct vlc_atomic_rc_t {