Merge pull request #2357 from keszybz/warnings-2

Remove gcc warnings v2
This commit is contained in:
Lennart Poettering
2016-01-19 15:09:53 +01:00
51 changed files with 271 additions and 255 deletions
+1 -1
View File
@@ -1071,7 +1071,7 @@ int dns_packet_append_rr(DnsPacket *p, const DnsResourceRecord *rr, size_t *star
/* Let's calculate the actual data size and update the field */
rdlength = p->size - rdlength_offset - sizeof(uint16_t);
if (rdlength > 0xFFFF) {
r = ENOSPC;
r = -ENOSPC;
goto fail;
}