From 141cbc4bf762d7fc36081799f69c2e8f8a018be7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 2 Mar 2020 10:03:24 +0100 Subject: X11: Fix return type of puglX11GlHintValue() --- pugl/detail/x11_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pugl/detail/x11_gl.c b/pugl/detail/x11_gl.c index 415f664..7bd4860 100644 --- a/pugl/detail/x11_gl.c +++ b/pugl/detail/x11_gl.c @@ -38,7 +38,7 @@ typedef struct { int double_buffered; } PuglX11GlSurface; -static PuglStatus +static int puglX11GlHintValue(const int value) { return value == PUGL_DONT_CARE ? (int)GLX_DONT_CARE : value; -- cgit v1.2.1