From 7f0ad2f63cd5c7e41a1916e4d8a3a5606880b429 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 2 Nov 2009 16:17:06 +0000 Subject: [PATCH] Fix an errant user of ssize_t to use ev_ssize_t. My usual strategy of grep '[^_]ssize_t' had apparently failed me, since this ssize_t was in the first column. Resolves bug 2890434; spotted by Mihai Draghicioiu. svn:r1484 --- buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer.c b/buffer.c index deee3e31..28819094 100644 --- a/buffer.c +++ b/buffer.c @@ -1731,7 +1731,7 @@ done: #ifdef USE_IOVEC_IMPL static inline int evbuffer_write_iovec(struct evbuffer *buffer, evutil_socket_t fd, -ssize_t howmuch) + ev_ssize_t howmuch) { IOV_TYPE iov[NUM_IOVEC]; struct evbuffer_chain *chain = buffer->first; -- 2.40.0