Commit e4450d8b authored by Peter Levine's avatar Peter Levine Committed by Tanu Kaskinen

atomic: Explicitly cast void* to unsigned long

parent bff16308
Pipeline #66667 passed with stage
in 5 minutes and 31 seconds
......@@ -117,7 +117,7 @@ static inline void* pa_atomic_ptr_load(const pa_atomic_ptr_t *a) {
}
static inline void pa_atomic_ptr_store(pa_atomic_ptr_t *a, void* p) {
__atomic_store_n(&a->value, p, __ATOMIC_SEQ_CST);
__atomic_store_n(&a->value, (unsigned long) p, __ATOMIC_SEQ_CST);
}
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment