[cairo] [PATCH 25/71] drm: fixed return value of _device_flush()

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Mon Apr 17 16:57:04 UTC 2017


Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
 src/drm/cairo-drm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/drm/cairo-drm.c b/src/drm/cairo-drm.c
index 3f79d3569..161874c7f 100644
--- a/src/drm/cairo-drm.c
+++ b/src/drm/cairo-drm.c
@@ -60,12 +60,12 @@ get_udev_property(struct udev_device *device, const char *name)
     return NULL;
 }
 
-static void
+static cairo_status_t
 _device_flush (void *abstract_device)
 {
     cairo_drm_device_t *device = _cairo_abstract_device_cast_drm(abstract_device);
 
-    device->device.flush (device);
+    return device->device.flush (device);
 }
 
 static void
-- 
2.11.0.rc0.7.gbe5a750



More information about the cairo mailing list