[PATCH 27/51] drm: fixed return value of _device_flush()

"Enrico Weigelt, metux IT consult" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
---
 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 47741a3..6a2a317 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.6.4.442.g545299f

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.