[PATCH xf86-video-s3virge 1/3] Use const char for xf86GetOptValString return type

Kevin Brace kevinbrace at gmx.com
Wed Dec 19 00:15:32 UTC 2018


Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/s3v_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/s3v_driver.c b/src/s3v_driver.c
index e5dd2e4..a9d47b4 100644
--- a/src/s3v_driver.c
+++ b/src/s3v_driver.c
@@ -480,7 +480,7 @@ S3VPreInit(ScrnInfoPtr pScrn, int flags)
     ClockRangePtr clockRanges;
     char *mod = NULL;
     const char *reqSym = NULL;
-    char *s;
+    const char *s;
     
     unsigned char config1, config2, m, n, n1, n2, cr66 = 0;
     int mclk;
-- 
2.7.4



More information about the xorg-devel mailing list