- Fix compiler warning in dns64/dns64.c.

This commit is contained in:
George Thessalonikefs 2020-03-02 11:52:33 +01:00
parent 93189d3083
commit c5897dc058
2 changed files with 4 additions and 1 deletions

View file

@ -227,7 +227,7 @@ ipv4_to_ptr(uint32_t ipv4, char ptr[], size_t nm_len)
static const char IPV4_PTR_SUFFIX[] = "\07in-addr\04arpa";
int i;
char* c = ptr;
log_assert(nm_len == MAX_PTR_QNAME_IPV4);
log_assert(nm_len == MAX_PTR_QNAME_IPV4); (void)nm_len;
for (i = 0; i < 4; ++i) {
*c = uitoa((unsigned int)(ipv4 % 256), c + 1);

View file

@ -1,3 +1,6 @@
2 March 2020: George
- Fix compiler warning in dns64/dns64.c
28 February 2020: Ralph
- Merge PR #172: Add IBM s390x arch for testing, by noloader.