[Xcb] [PATCH 5/6] [XKB] Change CARD8 to char where ASCII is expected

Peter Harris pharris at opentext.com
Wed Apr 10 16:27:45 PDT 2013


This does not impact libxcb, but it makes some pretty-printers prettier.

Signed-off-by: Peter Harris <pharris at opentext.com>
---
 src/xkb.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/xkb.xml b/src/xkb.xml
index f986339..e34f29f 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -370,23 +370,23 @@ authorization from the authors.
 	</struct>
 
 	<struct name="KeyName">
-		<list name="name" type="CARD8">
+		<list name="name" type="char">
 			<value>4</value>
 		</list>
 	</struct>
 
 	<struct name="KeyAlias">
-		<list name="real" type="CARD8">
+		<list name="real" type="char">
 			<value>4</value>
 		</list>
-		<list name="alias" type="CARD8">
+		<list name="alias" type="char">
 			<value>4</value>
 		</list>
 	</struct>
 
 	<struct name="CountedString16">
 		<field name="length" type="CARD16" />
-		<list name="string" type="CARD8">
+		<list name="string" type="char">
 			<fieldref>length</fieldref>
 		</list>
 		<list type="void" name="alignment_pad">
-- 
1.7.2.5



More information about the Xcb mailing list