From 2658ed0fb234432a9645b5bac97fc353e97a09b3 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sat, 23 Nov 2013 18:14:03 +0100 Subject: [PATCH] WRaster: Added missing const attribute Signed-off-by: Christophe CURIS --- wrlib/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrlib/context.c b/wrlib/context.c index da9dbe68..b6794d08 100644 --- a/wrlib/context.c +++ b/wrlib/context.c @@ -40,7 +40,7 @@ extern void _wraster_change_filter(int type); static Bool bestContext(Display * dpy, int screen_number, RContext * context); -static RContextAttributes DEFAULT_CONTEXT_ATTRIBS = { +static const RContextAttributes DEFAULT_CONTEXT_ATTRIBS = { RC_UseSharedMemory | RC_RenderMode | RC_ColorsPerChannel, /* flags */ RDitheredRendering, /* render_mode */ 4, /* colors_per_channel */ -- 2.11.4.GIT