On Sun, 7 Aug 2016, Guy Harris wrote: ... > --- lib/libc/net/ethers.c 14 Sep 2015 11:01:47 -0000 1.24 > +++ lib/libc/net/ethers.c 8 Aug 2016 01:28:39 -0000 ... > @@ -144,7 +144,7 @@ > } > #endif > if (ether_line(buf, &try, hostname) == 0 && > - memcmp((void *)&try, (void *)e, sizeof(try)) == 0) { > + memcmp((void *)&try, (const void *)e, sizeof(try)) == 0) {
Isn't it simpler and better to completely delete both those casts? Philip Guenther