From: Fredrik Tolf Date: Wed, 18 May 2016 03:04:44 +0000 (+0200) Subject: htparser: Fixed bad size_t. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=f728df60f33dd8390f13f987ae5e30421cc34e15;p=ashd.git htparser: Fixed bad size_t. --- diff --git a/src/htparser.c b/src/htparser.c index bb23539..a738e25 100644 --- a/src/htparser.c +++ b/src/htparser.c @@ -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) {