From: Jamey Sharp Date: Sun, 12 Mar 2006 04:32:04 +0000 (-0800) Subject: Portability fixes. Should help DragonFly and Solaris, and should not hurt anything... X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cdc02e3441dc623e91ebc5d7f735565b83f8435;p=free-sw%2Fxcb%2Flibxcb Portability fixes. Should help DragonFly and Solaris, and should not hurt anything else. Tested only on linux so far though. --- 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" /> - xcb_parts[2].iov_base = &xcb_out; + xcb_parts[2].iov_base = (char *) &xcb_out; xcb_parts[2].iov_len = sizeof(xcb_out); xcb_parts[3].iov_base = 0; xcb_parts[3].iov_len = -xcb_parts[2].iov_len & 3; - xcb_parts[].iov_base = (void *) ; xcb_parts[].iov_len =