summaryrefslogtreecommitdiff
path: root/src/xcb_out.c
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-03-11 20:32:04 -0800
committerJamey Sharp <jamey@minilop.net>2006-03-11 20:32:04 -0800
commit5cdc02e3441dc623e91ebc5d7f735565b83f8435 (patch)
treedb6d750e0799966c3809a081e66f9072aee54e7d /src/xcb_out.c
parent5b0ae3421dd373a8575b7a0d60989edfc056cf71 (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/xcb_out.c')
-rw-r--r--src/xcb_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_out.c b/src/xcb_out.c
index 2494ef3..10ef775 100644
--- a/src/xcb_out.c
+++ b/src/xcb_out.c
@@ -101,7 +101,7 @@ unsigned int XCBSendRequest(XCBConnection *c, int flags, struct iovec *vector, c
longlen += vector[i].iov_len;
if(!vector[i].iov_base)
{
- vector[i].iov_base = (caddr_t) pad;
+ vector[i].iov_base = (char *) pad;
assert(vector[i].iov_len <= sizeof(pad));
}
}