Skip to content
Snippets Groups Projects
Commit 4c78bc60 authored by Thomas Guillem's avatar Thomas Guillem Committed by Steve Lhomme
Browse files

atomic: fix static vlc_atomic_rc_t init

It was never used, so no bad consequences (I plan to use it soon).
parent b06ef34a
No related branches found
Tags 3.0.17.3
1 merge request!5306atomic: fix static vlc_atomic_rc_t init
Pipeline #463354 passed with warnings with stage
in 40 minutes and 5 seconds
......@@ -41,7 +41,7 @@ using std::memory_order_acq_rel;
#include <time.h> /* vlc_atomic_timedwait_daytime */
#define VLC_STATIC_RC { \
.refs = 0 \
.refs = (uintptr_t) 1 \
}
typedef struct vlc_atomic_rc_t {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment