summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-09 11:19:27 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-09 11:19:27 -0800
commitc6e0bbcdb1e24166969b350bf7b427d7a916916e (patch)
tree9d6be1392b351b2226fd430b8c78d7a5c15d13be
parent12a58f90f325ee84715ccff5f5cee29bc74702b5 (diff)
allocateMemory: fix -Wdiscarded-qualifiers warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/tdfx_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdfx_driver.c b/src/tdfx_driver.c
index 9a58cba..830ce04 100644
--- a/src/tdfx_driver.c
+++ b/src/tdfx_driver.c
@@ -2080,7 +2080,7 @@ static void allocateMemory(ScrnInfoPtr pScrn) {
int memRemaining, fifoSize, screenSizeInTiles, cursorSize;
int fbSize;
int verb;
- char *str;
+ const char *str;
pTDFX = TDFXPTR(pScrn);