diff options
author | Niels Provos <provos@gmail.com> | 2009-01-27 05:33:39 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2009-01-27 05:33:39 +0000 |
commit | b93e50545231ffb85254fa2d6c0fe50d0de39d8e (patch) | |
tree | 2bfd17d7baa8ace0203903be32df7ddd29f29022 /buffer.c | |
parent | 4f02a9630d7a982254d20696c306ac2e1017e3d1 (diff) | |
download | libevent-b93e50545231ffb85254fa2d6c0fe50d0de39d8e.tar.gz |
second argument to evbuffer_pullup should be ssize_t
svn:r1056
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |