[PATCH xf86-video-chips 1/2] Use const char for xf86GetOptValString return type

Kevin Brace kevinbrace at gmx.com
Tue Dec 25 14:17:56 UTC 2018


Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/ct_driver.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ct_driver.c b/src/ct_driver.c
index 378a23c..6603e6b 100644
--- a/src/ct_driver.c
+++ b/src/ct_driver.c
@@ -2423,7 +2423,7 @@ chipsPreInitWingine(ScrnInfoPtr pScrn, int flags)
     CHIPSPtr cPtr = CHIPSPTR(pScrn);
     CHIPSClockPtr SaveClk = &(cPtr->SavedReg.Clock);
     Bool useLinear = FALSE;
-    char *s;
+    const char *s;
 #ifndef XSERVER_LIBPCIACCESS
     resRange linearRes[] = { {ResExcMemBlock|ResBios|ResBus,0,0},_END };
 #endif
@@ -2890,7 +2890,7 @@ chipsPreInit655xx(ScrnInfoPtr pScrn, int flags)
     CHIPSPanelSizePtr Size = &cPtr->PanelSize;
     CHIPSClockPtr SaveClk = &(cPtr->SavedReg.Clock);
     Bool useLinear = FALSE;
-    char *s;
+    const char *s;
 #ifndef XSERVER_LIBPCIACCESS
     resRange linearRes[] = { {ResExcMemBlock|ResBios|ResBus,0,0},_END };
 #endif
-- 
2.7.4



More information about the xorg-devel mailing list