Line 0
Link Here
|
|
|
1 |
# Correct a couple strings that should be const |
2 |
# |
3 |
--- src/ct_driver.c.orig 2017-01-17 22:37:44 UTC |
4 |
+++ src/ct_driver.c |
5 |
@@ -2423,7 +2423,7 @@ chipsPreInitWingine(ScrnInfoPtr pScrn, i |
6 |
CHIPSPtr cPtr = CHIPSPTR(pScrn); |
7 |
CHIPSClockPtr SaveClk = &(cPtr->SavedReg.Clock); |
8 |
Bool useLinear = FALSE; |
9 |
- char *s; |
10 |
+ const char *s; |
11 |
#ifndef XSERVER_LIBPCIACCESS |
12 |
resRange linearRes[] = { {ResExcMemBlock|ResBios|ResBus,0,0},_END }; |
13 |
#endif |
14 |
@@ -2890,7 +2890,7 @@ chipsPreInit655xx(ScrnInfoPtr pScrn, int |
15 |
CHIPSPanelSizePtr Size = &cPtr->PanelSize; |
16 |
CHIPSClockPtr SaveClk = &(cPtr->SavedReg.Clock); |
17 |
Bool useLinear = FALSE; |
18 |
- char *s; |
19 |
+ const char *s; |
20 |
#ifndef XSERVER_LIBPCIACCESS |
21 |
resRange linearRes[] = { {ResExcMemBlock|ResBios|ResBus,0,0},_END }; |
22 |
#endif |