4 Jan 2011 23:11
contiki-2.x/core/net uip6.c, 1.24, 1.25 uip-icmp6.c, 1.6, 1.7
Update of /cvsroot/contiki/contiki-2.x/core/net
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv7096
Modified Files:
uip6.c uip-icmp6.c
Log Message:
removed some void * casts in uip code
Index: uip-icmp6.c
===================================================================
RCS file: /cvsroot/contiki/contiki-2.x/core/net/uip-icmp6.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** uip-icmp6.c 3 Nov 2010 11:56:11 -0000 1.6
--- uip-icmp6.c 4 Jan 2011 22:11:37 -0000 1.7
***************
*** 103,108 ****
* Note: UIP_ICMP_BUF still points to the echo request at this stage
*/
! memmove((void *)UIP_ICMP_BUF + UIP_ICMPH_LEN - uip_ext_len,
! (void *)UIP_ICMP_BUF + UIP_ICMPH_LEN,
(uip_len - UIP_IPH_LEN - UIP_ICMPH_LEN));
}
--- 103,108 ----
* Note: UIP_ICMP_BUF still points to the echo request at this stage
*/
! memmove((uint8_t *)UIP_ICMP_BUF + UIP_ICMPH_LEN - uip_ext_len,
! (uint8_t *)UIP_ICMP_BUF + UIP_ICMPH_LEN,
(uip_len - UIP_IPH_LEN - UIP_ICMPH_LEN));
(Continue reading)
RSS Feed