Apparently, xf86GetOptValString changed their return type from char to const char between X Server 1.15 and 1.16. In particular, X Server commit e1e01d2e33c632e395d7e396f73fba8ae606b15a made the change. This commit will suppress the compilation warning.
Signed-off-by: Kevin Brace <[email protected]> --- src/i128_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i128_driver.c b/src/i128_driver.c index 14bf264..c28d98b 100644 --- a/src/i128_driver.c +++ b/src/i128_driver.c @@ -580,7 +580,7 @@ I128PreInit(ScrnInfoPtr pScrn, int flags) xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Acceleration disabled\n"); } else { int from = X_DEFAULT; - char *s = xf86GetOptValString(pI128->Options, OPTION_ACCELMETHOD); + const char *s = xf86GetOptValString(pI128->Options, OPTION_ACCELMETHOD); pI128->NoAccel = FALSE; if (!xf86NameCmp(s, "EXA")) { pI128->exa = TRUE; -- 2.7.4 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
