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/xcb_out.c | |
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/xcb_out.c')
-rw-r--r-- | src/xcb_out.c | 2 |
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)); } } |