In struct XCBReplyData, change void *data to pthread_cond_t *data. That was dumb.