X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-linux.c;h=2540c4fba29e38ce72120c4d316f369916e421c6;hb=c44ae5e6a7338c96eb463881fe709b2dfaffe568;hp=4fe221d86549ba9efeb204db375e093eebfceba0;hpb=04c4348108d847e034dd91066cc6843f60d71731;p=ppp.git diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 4fe221d..2540c4f 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -2878,7 +2878,7 @@ ether_to_eui64(eui64_t *p_eui64) /* * And convert the EUI-48 into EUI-64, per RFC 2472 [sec 4.1] */ - ptr = ifr.ifr_hwaddr.sa_data; + ptr = (unsigned char *) ifr.ifr_hwaddr.sa_data; p_eui64->e8[0] = ptr[0] | 0x02; p_eui64->e8[1] = ptr[1]; p_eui64->e8[2] = ptr[2];