Avoid compiler warning.
This commit is contained in:
parent
6973e29dfc
commit
fab4acbfe4
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
* $Id: cfs.c,v 1.1 2006/06/17 22:41:15 adamdunkels Exp $
|
* $Id: cfs.c,v 1.2 2006/08/13 14:06:24 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ SERVICE(cfs_nullservice, cfs_service,
|
||||||
});
|
});
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
struct cfs_service_interface *
|
const struct cfs_service_interface *
|
||||||
cfs_find_service(void)
|
cfs_find_service(void)
|
||||||
{
|
{
|
||||||
struct service *s;
|
struct service *s;
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
* $Id: ctk-draw.c,v 1.1 2006/06/17 22:41:15 adamdunkels Exp $
|
* $Id: ctk-draw.c,v 1.2 2006/08/13 14:09:46 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ unsigned char ctk_draw_windowborder_width = 1,
|
||||||
void
|
void
|
||||||
ctk_draw_init(void)
|
ctk_draw_init(void)
|
||||||
{
|
{
|
||||||
struct ctk_draw_service *i;
|
const struct ctk_draw_service *i;
|
||||||
struct service *s;
|
struct service *s;
|
||||||
|
|
||||||
s = SERVICE_FIND(ctk_draw_service);
|
s = SERVICE_FIND(ctk_draw_service);
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
* $Id: uip-fw.c,v 1.2 2006/08/09 16:13:39 bg- Exp $
|
* $Id: uip-fw.c,v 1.3 2006/08/13 14:14:39 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* \addtogroup uip
|
* \addtogroup uip
|
||||||
|
@ -256,7 +256,7 @@ time_exceeded(void)
|
||||||
IP header (20) = 56. */
|
IP header (20) = 56. */
|
||||||
uip_len = 56;
|
uip_len = 56;
|
||||||
ICMPBUF->len[0] = 0;
|
ICMPBUF->len[0] = 0;
|
||||||
ICMPBUF->len[1] = uip_len;
|
ICMPBUF->len[1] = (u8_t)uip_len;
|
||||||
|
|
||||||
/* Fill in the other fields in the IP header. */
|
/* Fill in the other fields in the IP header. */
|
||||||
ICMPBUF->vhl = 0x45;
|
ICMPBUF->vhl = 0x45;
|
||||||
|
|
Loading…
Reference in a new issue