From fa0bd081e060b065a29dcd7679f04a0139773ca2 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 8 Jan 2024 14:24:25 -0800 Subject: Fix -Wdiscarded-qualifiers warning in G80PreInit Signed-off-by: Alan Coopersmith --- src/g80_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/g80_driver.c') 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; -- cgit v1.2.3