summaryrefslogtreecommitdiff
path: root/randrproto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-11-30 09:43:10 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-11-30 09:43:10 -0800
commit3d521b3d38d10c5ec660d13514ef3e626bef90fa (patch)
treea572816eb5d3df6e2ce8df72f1a4a5d79a6faa8a /randrproto.h
parent7363d448c77c2d2ec2928d9d4bc41aac1c2d36b7 (diff)
Fix padding bugs discovered in XCB work
Diffstat (limited to 'randrproto.h')
-rw-r--r--randrproto.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/randrproto.h b/randrproto.h
index fe40c0e..97ad28b 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -324,7 +324,7 @@ typedef struct {
BOOL range;
BOOL immutable;
BYTE pad1;
- CARD16 pad2 B16;
+ CARD32 pad2 B32;
CARD32 pad3 B32;
CARD32 pad4 B32;
CARD32 pad5 B32;
@@ -516,11 +516,11 @@ typedef struct {
CARD32 length B32;
CARD16 size B16;
CARD16 pad1 B16;
- CARD16 pad2 B32;
- CARD16 pad3 B32;
- CARD16 pad4 B32;
- CARD16 pad5 B32;
- CARD16 pad6 B32;
+ CARD32 pad2 B32;
+ CARD32 pad3 B32;
+ CARD32 pad4 B32;
+ CARD32 pad5 B32;
+ CARD32 pad6 B32;
} xRRGetCrtcGammaSizeReply;
#define sz_xRRGetCrtcGammaSizeReply 32