From: Wouter Wijngaards Date: Tue, 6 Feb 2018 16:00:10 +0000 (+0000) Subject: fix for doxygen X-Git-Tag: release-1.7.0rc1~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88c43a1b4558ddf9379348faf65d3a5222629ab8;p=thirdparty%2Funbound.git fix for doxygen git-svn-id: file:///svn/unbound/trunk@4516 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/services/authzone.c b/services/authzone.c index 3eee9c353..3dbcb4f09 100644 --- a/services/authzone.c +++ b/services/authzone.c @@ -3612,7 +3612,7 @@ chunkline_get_line(struct auth_chunk** chunk, size_t* chunk_pos, "line too long"); return 0; } - sldns_buffer_write_u8(buf, c); + sldns_buffer_write_u8(buf, (uint8_t)c); if(c == '\n') { /* we are done */ return 1; diff --git a/sldns/str2wire.h b/sldns/str2wire.h index 2877adcf2..70070e4f5 100644 --- a/sldns/str2wire.h +++ b/sldns/str2wire.h @@ -555,7 +555,7 @@ int sldns_str2wire_hip_buf(const char* str, uint8_t* rd, size_t* len); int sldns_str2wire_int16_data_buf(const char* str, uint8_t* rd, size_t* len); /** - * Strip whitespace from the start and the end of . + * Strip whitespace from the start and the end of line. * @param line: modified with 0 to shorten it. * @return new start with spaces skipped. */