[Openchrome-devel] xf86-video-openchrome: src/via_driver.c

James Simmons jsimmons at kemper.freedesktop.org
Tue Jan 13 12:39:05 PST 2015


 src/via_driver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 18ff812145f9de95920387a811c106dd11a92865
Author: James Simmons <jsimmons at infradead.org>
Date:   Tue Jan 13 13:38:21 2015 -0700

    Silence the warning: assignment discards 'const' qualifier from
    pointer target type.
    
    Signed-off-by:  James Simmons <jsimmons at casper.infradead.org>

diff --git a/src/via_driver.c b/src/via_driver.c
index f3ad39d..0679cf2 100644
--- a/src/via_driver.c
+++ b/src/via_driver.c
@@ -918,7 +918,7 @@ VIAPreInit(ScrnInfoPtr pScrn, int flags)
     VIAPtr pVia;
     VIABIOSInfoPtr pBIOSInfo;
     MessageType from = X_DEFAULT;
-    char *s = NULL;
+    const char *s = NULL;
 #ifdef HAVE_DRI
     char *busId = NULL;
     drmVersionPtr drmVer;


More information about the Openchrome-devel mailing list