diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-03-11 20:32:04 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-03-11 20:32:04 -0800 |
commit | 5cdc02e3441dc623e91ebc5d7f735565b83f8435 (patch) | |
tree | db6d750e0799966c3809a081e66f9072aee54e7d /src/c-client.xsl | |
parent | 5b0ae3421dd373a8575b7a0d60989edfc056cf71 (diff) |
Portability fixes. Should help DragonFly and Solaris, and should not hurt anything else. Tested only on linux so far though.
Diffstat (limited to 'src/c-client.xsl')
-rw-r--r-- | src/c-client.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c-client.xsl b/src/c-client.xsl index c35fe33..054d84a 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -596,13 +596,13 @@ authorization from the authors. mode="assign" /> <l /> - <l>xcb_parts[2].iov_base = &xcb_out;</l> + <l>xcb_parts[2].iov_base = (char *) &xcb_out;</l> <l>xcb_parts[2].iov_len = sizeof(xcb_out);</l> <l>xcb_parts[3].iov_base = 0;</l> <l>xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3;</l> <xsl:for-each select="$struct/list"> - <l>xcb_parts[<xsl:value-of select="2 + position() * 2"/>].iov_base = (void *) <!-- + <l>xcb_parts[<xsl:value-of select="2 + position() * 2"/>].iov_base = (char *) <!-- --><xsl:value-of select="@name" />;</l> <l>xcb_parts[<xsl:value-of select="2 + position() * 2"/>].iov_len = <!-- --><xsl:apply-templates mode="output-expression" /><!-- |