X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_in.c;h=1d029afa94cc25203b79cf4834f831aa0c3934d8;hb=9c9c09b376fe1ddcedd03c52cfc0b06867d998c9;hp=31a1e601c7cfb732d1aac4647563042da645cf4a;hpb=424ad131b7d97d6196181c31677655e6d52b41df;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_in.c b/src/xcb_in.c index 31a1e60..1d029af 100644 --- a/src/xcb_in.c +++ b/src/xcb_in.c @@ -252,7 +252,7 @@ static void free_reply_list(struct reply_list *head) } } -static int read_block(const int fd, void *buf, const size_t len) +static int read_block(const int fd, void *buf, const ssize_t len) { int done = 0; while(done < len)