summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 14:24:25 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 14:24:25 -0800
commitfa0bd081e060b065a29dcd7679f04a0139773ca2 (patch)
tree6041e0719b7945bc64f9d0025217f248d6ddaef6
parent947720bc20f8dcba8502e1db46ae0f180c5fa8d0 (diff)
Fix -Wdiscarded-qualifiers warning in G80PreInit
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/g80_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c
index 719b96c..b52fb40 100644
--- a/src/g80_driver.c
+++ b/src/g80_driver.c
@@ -163,7 +163,7 @@ G80PreInit(ScrnInfoPtr pScrn, int flags)
Bool primary;
const rgb zeros = {0, 0, 0};
const Gamma gzeros = {0.0, 0.0, 0.0};
- char *s;
+ const char *s;
CARD32 tmp;
memType BAR1sizeKB;