utils_dns.c: fix compiler warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 9 Aug 2016 12:23:06 +0000 (14:23 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 9 Aug 2016 12:24:06 +0000 (14:24 +0200)
commit974c66f629c0a6eb8691fe280a28cf0b78b9b574
treedfd0e86f868a122ac4d7927d240d98f7a13f4ca0
parentacce2eaea9ed847b1683d0333229248bfcc88cb3
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);
                             ^
src/utils_dns.c