summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-09 11:34:53 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-09 11:34:53 -0800
commite993eebd1f3f0fed9ff77f024042aca9310eebcd (patch)
treeb8fd401e91f1f28b7bd470b3cca08b0b529a4544
parentbf78cb5118c86105cc3eca7e476ed7b30b9a0d8b (diff)
Fix 96 out of 102 -Wdiscarded-qualifiers warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/trident_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trident_driver.c b/src/trident_driver.c
index b3710b7..0b489a3 100644
--- a/src/trident_driver.c
+++ b/src/trident_driver.c
@@ -1854,7 +1854,7 @@ TRIDENTPreInit(ScrnInfoPtr pScrn, int flags)
vgaHWPtr hwp;
MessageType from;
CARD8 videoram, videorammask;
- char *ramtype = NULL, *chipset = NULL;
+ const char *ramtype = NULL, *chipset = NULL;
Bool Support24bpp;
int vgaIOBase;
float mclk;