author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 9 Aug 2016 12:23:06 +0000 (14:23 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 9 Aug 2016 12:24:06 +0000 (14:24 +0200) | ||
commit | 974c66f629c0a6eb8691fe280a28cf0b78b9b574 | |
tree | dfd0e86f868a122ac4d7927d240d98f7a13f4ca0 | tree | snapshot |
parent | acce2eaea9ed847b1683d0333229248bfcc88cb3 | commit | diff |
utils_dns.c: fix compiler warning
utils_dns.c: In function ‘handle_ip’:
utils_dns.c:531:29: warning: pointer of type ‘void *’ used in arithmetic
[-Wpointer-arith]
memcpy(buf, (void *) ip + offset, len - offset);
^
utils_dns.c: In function ‘handle_ip’:
utils_dns.c:531:29: warning: pointer of type ‘void *’ used in arithmetic
[-Wpointer-arith]
memcpy(buf, (void *) ip + offset, len - offset);
^
src/utils_dns.c | diff | blob | history |