diff options
Diffstat (limited to 'lib/libX11/src/xcb_io.c')
-rw-r--r-- | lib/libX11/src/xcb_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libX11/src/xcb_io.c b/lib/libX11/src/xcb_io.c index 0af47d888..300ef571f 100644 --- a/lib/libX11/src/xcb_io.c +++ b/lib/libX11/src/xcb_io.c @@ -478,9 +478,9 @@ void _XSend(Display *dpy, const char *data, long size) vec[0].iov_base = dpy->buffer; vec[0].iov_len = dpy->bufptr - dpy->buffer; - vec[1].iov_base = (caddr_t) data; + vec[1].iov_base = (char *)data; vec[1].iov_len = size; - vec[2].iov_base = (caddr_t) pad; + vec[2].iov_base = (char *)pad; vec[2].iov_len = -size & 3; for(ext = dpy->flushes; ext; ext = ext->next_flush) |