diff options
author | Julien Cristau <jcristau@debian.org> | 2015-05-08 12:07:42 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2015-05-08 12:08:15 +0200 |
commit | 1b58f8ab061f52d8aab9758b4dfa7e48e76b847a (patch) | |
tree | 66744d43f5b5152eba9d9038b59c6aa30a55b027 | |
parent | d28cd83c7b0b4a943efbe5ddf257c8ee2646ea73 (diff) |
Fix compiler warnings with recent X servers
savage_driver.c:1228:12: warning: assignment discards 'const' qualifier from pointer target type
if ((s = xf86GetOptValString(psav->Options, OPTION_ROTATE))) {
^
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | src/savage_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c index e82794f..d278345 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -1082,7 +1082,7 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags) MessageType from = X_DEFAULT; int i; ClockRangePtr clockRanges; - char *s = NULL; + const char *s = NULL; unsigned char config1, m, n, n1, n2, sr8, cr66 = 0, tmp; int mclk; vgaHWPtr hwp; |