From 9db7f06368d996137fbde15e3308143220c81f2e Mon Sep 17 00:00:00 2001 From: joxe Date: Mon, 24 May 2010 09:57:20 +0000 Subject: [PATCH] fixed compiler warnings --- core/net/uip-nd6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/uip-nd6.c b/core/net/uip-nd6.c index fb94fa407..96cc91eca 100644 --- a/core/net/uip-nd6.c +++ b/core/net/uip-nd6.c @@ -779,11 +779,11 @@ uip_nd6_ra_input(void) switch (UIP_ND6_OPT_HDR_BUF->type) { case UIP_ND6_OPT_SLLAO: PRINTF("Processing SLLAO option in RA\n"); - nd6_opt_llao = UIP_ND6_OPT_HDR_BUF; + nd6_opt_llao = (uint8_t *) UIP_ND6_OPT_HDR_BUF; nbr = uip_ds6_nbr_lookup(&UIP_IP_BUF->srcipaddr); if(nbr == NULL) { nbr = uip_ds6_nbr_add(&UIP_IP_BUF->srcipaddr, - &nd6_opt_llao[UIP_ND6_OPT_DATA_OFFSET], + (uip_lladdr_t *)&nd6_opt_llao[UIP_ND6_OPT_DATA_OFFSET], 1, NBR_STALE); } else { if(nbr->state == NBR_INCOMPLETE) {