projects
/
free-sw
/
xcb
/
proto
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xv.xml: Make padding explicit
[free-sw/xcb/proto]
/
src
/
xv.xml
diff --git
a/src/xv.xml
b/src/xv.xml
index
ebf4837
..
e5a132f
100644
(file)
--- a/
src/xv.xml
+++ b/
src/xv.xml
@@
-84,11
+84,12
@@
authorization from the authors.
<field type="CARD16" name="name_size" />
<field type="CARD16" name="width" />
<field type="CARD16" name="height" />
<field type="CARD16" name="name_size" />
<field type="CARD16" name="width" />
<field type="CARD16" name="height" />
- <field type="Rational" name="rate" />
<!--
<!--
-
Xvproto.h has a padding CARD16 here but the nam
e
-
overlaps
.
+
Some versions of Xvproto.h incorrectly hav
e
+
this padding after "rate"
.
-->
-->
+ <pad bytes="2" />
+ <field type="Rational" name="rate" />
<list type="char" name="name">
<fieldref>name_size</fieldref>
</list>
<list type="char" name="name">
<fieldref>name_size</fieldref>
</list>
@@
-97,6
+98,7
@@
authorization from the authors.
<struct name="Format">
<field type="VISUALID" name="visual" />
<field type="CARD8" name="depth" />
<struct name="Format">
<field type="VISUALID" name="visual" />
<field type="CARD8" name="depth" />
+ <pad bytes="3" />
</struct>
<struct name="Image">
</struct>
<struct name="Image">