WRaster: Added missing const attribute
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 23 Nov 2013 17:14:03 +0000 (23 18:14 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Dec 2013 18:11:06 +0000 (30 18:11 +0000)
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
wrlib/context.c

index da9dbe6..b6794d0 100644 (file)
@@ -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 */