htparser: Fixed bad size_t.
authorFredrik Tolf <fredrik@dolda2000.com>
Wed, 18 May 2016 03:04:44 +0000 (05:04 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Wed, 18 May 2016 03:04:44 +0000 (05:04 +0200)
src/htparser.c

index bb23539..a738e25 100644 (file)
@@ -152,7 +152,7 @@ static off_t passdata(struct bufio *in, struct bufio *out, off_t max)
 
 static int recvchunks(struct bufio *in, struct bufio *out)
 {
-    size_t read, chlen;
+    ssize_t read, chlen;
     int c, r;
     
     while(1) {