[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] atomic: Explicitly cast void* to unsigned long
Tanu Kaskinen
gitlab at gitlab.freedesktop.org
Thu Sep 26 12:11:59 UTC 2019
Tanu Kaskinen pushed to branch master at PulseAudio / pulseaudio
Commits:
e4450d8b by Peter Levine at 2019-09-26T12:05:53Z
atomic: Explicitly cast void* to unsigned long
- - - - -
1 changed file:
- src/pulsecore/atomic.h
Changes:
=====================================
src/pulsecore/atomic.h
=====================================
@@ -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
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/e4450d8b586103ec1414e2d6245ff34a9096d97a
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/e4450d8b586103ec1414e2d6245ff34a9096d97a
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20190926/1a74bc73/attachment.html>
More information about the pulseaudio-commits
mailing list