Permalink
Browse files

fix issue with signedness warnings; from Alexander von Gernler

svn:r169
  • Loading branch information...
1 parent 9938aaf commit e1759c7bbde90093709b70020fadc8a9f90416d5 @provos provos committed Jun 19, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 buffer.c
View
@@ -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')

0 comments on commit e1759c7

Please sign in to comment.