From: Wouter Wijngaards Date: Thu, 8 Feb 2018 10:00:10 +0000 (+0000) Subject: fix for doxygen and lint. X-Git-Tag: release-1.7.0rc1~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db766ce0640d3b5fdeefed56eae89d16b5e658e2;p=thirdparty%2Funbound.git fix for doxygen and lint. git-svn-id: file:///svn/unbound/trunk@4518 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/netevent.c b/util/netevent.c index 6c4d67026..d537e13d2 100644 --- a/util/netevent.c +++ b/util/netevent.c @@ -1710,7 +1710,7 @@ http_header_done(sldns_buffer* buf) } /** return character string into buffer for header line, moves buffer - * past that line and puts zero terminator (into \r\n) */ + * past that line and puts zero terminator into linefeed-newline */ static char* http_header_line(sldns_buffer* buf) { @@ -1885,7 +1885,7 @@ http_chunked_segment(struct comm_point* c) /* save too much info into temp buffer */ size_t fraglen; struct comm_reply repinfo; - sldns_buffer_skip(c->buffer, c->tcp_byte_count); + sldns_buffer_skip(c->buffer, (ssize_t)c->tcp_byte_count); c->tcp_byte_count = 0; sldns_buffer_clear(c->http_temp); sldns_buffer_write(c->http_temp,