summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Martin <consume.noise@gmail.com>2014-06-09 17:55:05 +0200
committerPeter Harris <pharris@opentext.com>2014-06-10 14:01:51 -0400
commit84bfd909bc3774a459b11614cfebeaa584a1eb38 (patch)
tree77408f5c16d3941390c03fa8a0b1a462f2774a91
parent0797e4d51023cff3fe7f1d7acbd0b85efc379a31 (diff)
downloadxcb-proto-baserock/james/xcb-proto.tar.gz
xv: Add align. pad in struct AdaptorInfobaserock/james/xcb-proto
The (list) 'name' in the struct AdaptorInfo is not padded. Therefore we've to add an alignment pad after it. Reference: http://cgit.freedesktop.org/xorg/lib/libXv/tree/src/Xv.c#n250 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79808 Signed-off-by: Daniel Martin <consume.noise@gmail.com> Signed-off-by: Peter Harris <pharris@opentext.com>
-rw-r--r--src/xv.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xv.xml b/src/xv.xml
index 0b55d36..47a05d0 100644
--- a/src/xv.xml
+++ b/src/xv.xml
@@ -101,6 +101,7 @@ authorization from the authors.
<list type="char" name="name">
<fieldref>name_size</fieldref>
</list>
+ <pad align="4" />
<list type="Format" name="formats">
<fieldref>num_formats</fieldref>
</list>