summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2009-01-27 05:33:39 +0000
committerNiels Provos <provos@gmail.com>2009-01-27 05:33:39 +0000
commitb93e50545231ffb85254fa2d6c0fe50d0de39d8e (patch)
tree2bfd17d7baa8ace0203903be32df7ddd29f29022 /buffer.c
parent4f02a9630d7a982254d20696c306ac2e1017e3d1 (diff)
downloadlibevent-b93e50545231ffb85254fa2d6c0fe50d0de39d8e.tar.gz
second argument to evbuffer_pullup should be ssize_t
svn:r1056
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/buffer.c b/buffer.c
index 029ea988..c4b8f476 100644
--- a/buffer.c
+++ b/buffer.c
@@ -421,9 +421,8 @@ evbuffer_remove_buffer(struct evbuffer *src, struct evbuffer *dst,
return (nread);
}
-/* XXX shouldn't the second arg be ssize_t? */
unsigned char *
-evbuffer_pullup(struct evbuffer *buf, int size)
+evbuffer_pullup(struct evbuffer *buf, ssize_t size)
{
struct evbuffer_chain *chain = buf->first, *next, *tmp;
unsigned char *buffer;