[PATCH:xf86-video-xgi 19/19] Remove const from variable.

Thomas Klausner wiz at NetBSD.org
Thu Aug 6 05:57:17 PDT 2015


Fixes.
assignment discards ‘const’ qualifier from pointer target type

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/xgi_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xgi_driver.c b/src/xgi_driver.c
index 4806476..abaf1e1 100755
--- a/src/xgi_driver.c
+++ b/src/xgi_driver.c
@@ -626,7 +626,7 @@ XGIDisplayPowerManagementSet(ScrnInfoPtr pScrn, int PowerManagementMode,
 
 typedef struct 
 {
-	unsigned char   name[10];
+    char   name[10];
     unsigned int    DCLK;
     unsigned int    HDisplay;
     unsigned int    HSyncStart;
-- 
2.5.0



More information about the xorg-devel mailing list