[cairo] [PATCH 27/71] drm: fixed call to _cairo_atomic_ptr_cmpxchg()
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Mon Apr 17 16:57:06 UTC 2017
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
src/drm/cairo-drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drm/cairo-drm.c b/src/drm/cairo-drm.c
index 418c3c6d5..2ebbdbd5e 100644
--- a/src/drm/cairo-drm.c
+++ b/src/drm/cairo-drm.c
@@ -83,7 +83,7 @@ _device_finish (void *abstract_device)
CAIRO_MUTEX_UNLOCK (_cairo_drm_device_mutex);
- if (_cairo_atomic_ptr_cmpxchg (&_cairo_drm_default_device,
+ if (_cairo_atomic_ptr_cmpxchg ((void**)&_cairo_drm_default_device,
device, NULL))
{
cairo_device_destroy (&device->base);
--
2.11.0.rc0.7.gbe5a750
More information about the cairo
mailing list