[PATCH 4/8] Fix const cast warnings in our ops definitions.

Eric Anholt eric at anholt.net
Mon Apr 21 11:56:18 PDT 2014


We only store string literals here.
---
 rendercheck.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rendercheck.h b/rendercheck.h
index 6cae450..7da59a5 100644
--- a/rendercheck.h
+++ b/rendercheck.h
@@ -64,7 +64,7 @@ typedef struct _picture_info {
 
 struct op_info {
 	int op;
-	char *name;
+	const char *name;
 	Bool disabled;
 };
 
-- 
1.9.2



More information about the xorg-devel mailing list