summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/sna_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 2829af14..a6e6f686 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3388,7 +3388,7 @@ static void crtc_init_gamma(xf86CrtcPtr crtc) { }
static const char *preferred_mode(xf86OutputPtr output)
{
- char *mode;
+ const char *mode;
mode = xf86GetOptValString(output->options, OPTION_PREFERRED_MODE);
if (mode)