mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
atomic: Explicitly cast void* to unsigned long
This commit is contained in:
parent
bff163089c
commit
e4450d8b58
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue