[PATCH 30/37] xfree86/exa: xf86GetOptValString returns const char * now

Keith Packard keithp at keithp.com
Sun Nov 17 00:01:55 PST 2013


fix exaDDXDriverInit to match.

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 hw/xfree86/exa/examodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xfree86/exa/examodule.c b/hw/xfree86/exa/examodule.c
index 4e809ea..76f780a 100644
--- a/hw/xfree86/exa/examodule.c
+++ b/hw/xfree86/exa/examodule.c
@@ -128,7 +128,7 @@ exaDDXDriverInit(ScreenPtr pScreen)
     if (pExaScr->info->flags & EXA_OFFSCREEN_PIXMAPS) {
         if (!(pExaScr->info->flags & EXA_HANDLES_PIXMAPS) &&
             pExaScr->info->offScreenBase < pExaScr->info->memorySize) {
-            char *heuristicName;
+            const char *heuristicName;
 
             heuristicName = xf86GetOptValString(pScreenPriv->options,
                                                 EXAOPT_MIGRATION_HEURISTIC);
-- 
1.8.4.2



More information about the xorg-devel mailing list