X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_out.c;fp=src%2Fxcb_out.c;h=1094cebf15925728e8f5a5422a2c4514cbe48c42;hb=baff35a04b0e8d21821850a405a550d86a8aeb6f;hp=ad4240a3ba75e8e5060412a7dd13966ed120b0b2;hpb=96e55444b9b9500420f9132a1ace720100a26398;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_out.c b/src/xcb_out.c index ad4240a..1094ceb 100644 --- a/src/xcb_out.c +++ b/src/xcb_out.c @@ -112,7 +112,7 @@ unsigned int xcb_send_request(xcb_connection_t *c, int flags, struct iovec *vect } fields; uint32_t packet; } sync_req = { { /* GetInputFocus */ 43, 0, 1 } }; - unsigned int request; + uint64_t request; uint32_t prefix[3] = { 0 }; int veclen = req->count; enum workarounds workaround = WORKAROUND_NONE; @@ -282,7 +282,7 @@ int _xcb_out_send(xcb_connection_t *c, struct iovec **vector, int *count) return ret; } -int _xcb_out_flush_to(xcb_connection_t *c, unsigned int request) +int _xcb_out_flush_to(xcb_connection_t *c, uint64_t request) { assert(XCB_SEQUENCE_COMPARE(request, <=, c->out.request)); if(XCB_SEQUENCE_COMPARE(c->out.request_written, >=, request))