diff --git a/apps/netconf/netconf.c b/apps/netconf/netconf.c index 27435abc9..36ae61710 100644 --- a/apps/netconf/netconf.c +++ b/apps/netconf/netconf.c @@ -29,7 +29,7 @@ * * This file is part of the Contiki desktop environment * - * $Id: netconf.c,v 1.2 2006/08/21 21:42:40 oliverschmidt Exp $ + * $Id: netconf.c,v 1.3 2006/08/26 23:20:44 oliverschmidt Exp $ * */ @@ -114,7 +114,7 @@ makestrings(void) { u16_t addr[2], *addrptr; - uip_gethostaddr(&addr); + uip_gethostaddr((uip_ipaddr_t *)addr); makeaddr(addr, ipaddr); #ifdef WITH_ETHERNET @@ -147,7 +147,7 @@ apply_tcpipconfig(void) nullterminate(ipaddr); if(uiplib_ipaddrconv(ipaddr, (unsigned char *)addr)) { - uip_sethostaddr(addr); + uip_sethostaddr((uip_ipaddr_t *)addr); } #ifdef WITH_ETHERNET