diff options
author | Volker Lendecke <vl@samba.org> | 2016-05-30 11:18:48 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-06-13 10:10:11 +0200 |
commit | 467ea855cce70deeab95939d9385e1073e2261b6 (patch) | |
tree | db75c51d404648f2219fd7f0e8ba794ac6d61578 /lib/async_req | |
parent | d2379caa77fe02264323d69fee1bcad33f1bfeee (diff) | |
download | samba-467ea855cce70deeab95939d9385e1073e2261b6.tar.gz |
lib: Fix a signed/unsigned mixup
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib/async_req')
-rw-r--r-- | lib/async_req/async_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c index 9ccec9e7020..c14acf3fd62 100644 --- a/lib/async_req/async_sock.c +++ b/lib/async_req/async_sock.c @@ -308,7 +308,7 @@ static void writev_handler(struct tevent_context *ev, struct tevent_fd *fde, private_data, struct tevent_req); struct writev_state *state = tevent_req_data(req, struct writev_state); - size_t written; + ssize_t written; bool ok; if ((state->flags & TEVENT_FD_READ) && (flags & TEVENT_FD_READ)) { |