diff options
author | Keith Packard <keithp@keithp.com> | 2014-08-16 18:36:57 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-09-12 13:50:36 -0700 |
commit | 4f5a5683979bae2283775f3b94da32a05e24e0c0 (patch) | |
tree | 2f395c81163225879d680a864ba81ceb02f6a8e4 /src/uxa | |
parent | 4e77993e9965ca65e66bd42b688f7f2e64dd3a7d (diff) |
Declare variable holding option value as 'const char *'
This matches the type of xf86GetOptValString.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/uxa')
-rw-r--r-- | src/uxa/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uxa/intel_display.c b/src/uxa/intel_display.c index 2f664bc0..97effd34 100644 --- a/src/uxa/intel_display.c +++ b/src/uxa/intel_display.c @@ -184,7 +184,7 @@ intel_output_backlight_init(xf86OutputPtr output) { struct intel_output *intel_output = output->driver_private; intel_screen_private *intel = intel_get_screen_private(output->scrn); - char *str; + const char *str; #if !USE_BACKLIGHT return; |