X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fc-client.xsl;h=568e46c3b23da553fd563623d28627c6e513dbc5;hb=87905f0579e749ac6d92843780af246160318eca;hp=3ab28893e795da14c383ae29e434c7cf0050f954;hpb=ff7b6c9124e7caf26381cc7a10fba9eaf1875652;p=free-sw%2Fxcb%2Flibxcb
diff --git a/src/c-client.xsl b/src/c-client.xsl
index 3ab2889..568e46c 100644
--- a/src/c-client.xsl
+++ b/src/c-client.xsl
@@ -567,7 +567,7 @@ authorization from the authors.
-
+
static const XCBProtocolRequest xcb_req = {
@@ -586,7 +586,7 @@ authorization from the authors.
};
- struct iovec xcb_parts[];
+ struct iovec xcb_parts[];
xcb_ret;
xcb_out;
@@ -598,17 +598,21 @@ authorization from the authors.
xcb_parts[0].iov_base = &xcb_out;
xcb_parts[0].iov_len = sizeof(xcb_out);
+ xcb_parts[1].iov_base = 0;
+ xcb_parts[1].iov_len = -xcb_parts[0].iov_len & 3;
- xcb_parts[].iov_base = (void *) ;
- xcb_parts[].iov_len =
* sizeof(
)
;
+ xcb_parts[].iov_base = 0;
+ xcb_parts[].iov_len = -xcb_parts[].iov_len & 3;
XCBSendRequest(c, &xcb_ret.sequence,