From e1759c7bbde90093709b70020fadc8a9f90416d5 Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Sun, 19 Jun 2005 20:28:20 +0000 Subject: [PATCH] fix issue with signedness warnings; from Alexander von Gernler svn:r169 --- buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buffer.c b/buffer.c index 1dc16ae3..ff59ed78 100644 --- a/buffer.c +++ b/buffer.c @@ -184,10 +184,10 @@ evbuffer_remove(struct evbuffer *buf, void *data, size_t datlen) char * evbuffer_readline(struct evbuffer *buffer) { - char *data = EVBUFFER_DATA(buffer); + u_char *data = EVBUFFER_DATA(buffer); size_t len = EVBUFFER_LENGTH(buffer); char *line; - int i; + u_int i; for (i = 0; i < len; i++) { if (data[i] == '\r' || data[i] == '\n') -- 2.40.0