From 5cdc02e3441dc623e91ebc5d7f735565b83f8435 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Sat, 11 Mar 2006 20:32:04 -0800 Subject: Portability fixes. Should help DragonFly and Solaris, and should not hurt anything else. Tested only on linux so far though. --- src/xcb_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xcb_out.c') 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)); } } -- cgit v1.2.3