From: Denys Vlasenko Date: Fri, 23 Oct 2009 16:31:02 +0000 (+0200) Subject: ifplugd: fix compile error X-Git-Tag: 1_16_0~324 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=337a31b0741f5e9ba32bedd750ab99bb253085dc;p=oweals%2Fbusybox.git ifplugd: fix compile error Signed-off-by: Denys Vlasenko --- diff --git a/networking/ifplugd.c b/networking/ifplugd.c index 8abecb90a..43f26c6df 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c @@ -361,7 +361,7 @@ static smallint detect_link_ethtool(void) set_ifreq_to_ifname(&ifreq); edata.cmd = ETHTOOL_GLINK; - ifreq.ifr_data = &edata; + ifreq.ifr_data = (void*) &edata; if (network_ioctl(SIOCETHTOOL, &ifreq) < 0) { bb_perror_msg("ETHTOOL_GLINK failed");