diff options
author | Julien Cristau <jcristau@debian.org> | 2015-05-08 11:47:58 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2015-05-08 11:47:58 +0200 |
commit | b9399b8880e97af8b66d981ad3edd498e76d2e16 (patch) | |
tree | 35b02cc6936dfb23d44a80246ac4639556d04fb5 | |
parent | 6661bdd4551e4e63e983685464a277845aed3012 (diff) |
Fix compiler warning with recent X servers
xf86GetOptValString was changed to return const char *.
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | src/neo_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/neo_driver.c b/src/neo_driver.c index da01962..62d6742 100644 --- a/src/neo_driver.c +++ b/src/neo_driver.c @@ -636,7 +636,7 @@ NEOPreInit(ScrnInfoPtr pScrn, int flags) int apertureSize; Bool height_480 = FALSE; Bool lcdCenterOptSet = FALSE; - char *s; + const char *s; if (flags & PROBE_DETECT) { neoProbeDDC( pScrn, xf86GetEntityInfo(pScrn->entityList[0])->index ); |