From 981a53492010a50fd9b2a334b4c130ca3799b7ae Mon Sep 17 00:00:00 2001 From: heckflosse Date: Tue, 29 Nov 2016 13:11:42 +0100 Subject: [PATCH] Fixes #3517, build fails when using libcairo 1.15 --- rtgui/guiutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/guiutils.h b/rtgui/guiutils.h index 38f5297eb..b8e058eb4 100644 --- a/rtgui/guiutils.h +++ b/rtgui/guiutils.h @@ -437,7 +437,7 @@ public: // you have to check if the surface is created thanks to surfaceCreated before starting to draw on it bool surfaceCreated() { - return surface; + return static_cast(surface); } Cairo::RefPtr getSurface() {