summaryrefslogtreecommitdiff
path: root/lib/async_req
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-05-30 11:18:48 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-06-13 10:10:11 +0200
commit467ea855cce70deeab95939d9385e1073e2261b6 (patch)
treedb75c51d404648f2219fd7f0e8ba794ac6d61578 /lib/async_req
parentd2379caa77fe02264323d69fee1bcad33f1bfeee (diff)
downloadsamba-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.c2
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)) {