]> www.dolda2000.com Git - ashd.git/commitdiff
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 bb235399885f41c823e758dedb34ed090cb49cee..a738e2566f6dc866ea3ee48d4d6002ecb320f82e 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) {