[PATCH xf86-video-s3 2/4] Use const char for xf86GetOptValString return type
Kevin Brace
kevinbrace at gmx.com
Tue Dec 18 23:44:50 UTC 2018
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
src/s3_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/s3_driver.c b/src/s3_driver.c
index b3867ba..a66f4a2 100644
--- a/src/s3_driver.c
+++ b/src/s3_driver.c
@@ -307,7 +307,7 @@ static Bool S3PreInit(ScrnInfoPtr pScrn, int flags)
Gamma gzeros = {0.0, 0.0, 0.0};
int i, vgaCRIndex, vgaCRReg;
unsigned char tmp;
- char *s;
+ const char *s;
if (flags & PROBE_DETECT)
return FALSE;
--
2.7.4
More information about the xorg-devel
mailing list