diff options
author | Julien Danjou <julien@danjou.info> | 2008-08-27 13:56:25 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2008-08-28 13:49:21 +0200 |
commit | c5b2e53abf0b113d4cc4105127cf848ee450aa98 (patch) | |
tree | bfc8e5deba5c5ad164d0b19bdeaf14020db45ba7 /src/xcb_in.c | |
parent | 1bbdba52116f127bed3ce812a00240b4009bbf22 (diff) |
Use a signed size in read_block()
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'src/xcb_in.c')
-rw-r--r-- | src/xcb_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |