From fab4acbfe452d8d1dddad8b45631249de05dfa71 Mon Sep 17 00:00:00 2001
From: oliverschmidt <oliverschmidt>
Date: Sun, 13 Aug 2006 14:06:24 +0000
Subject: [PATCH] Avoid compiler warning.

---
 core/cfs/cfs.c      | 4 ++--
 core/ctk/ctk-draw.c | 4 ++--
 core/net/uip-fw.c   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/core/cfs/cfs.c b/core/cfs/cfs.c
index 50684f6a1..9adae853c 100644
--- a/core/cfs/cfs.c
+++ b/core/cfs/cfs.c
@@ -30,7 +30,7 @@
  * 
  * 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"
 
@@ -60,7 +60,7 @@ SERVICE(cfs_nullservice, cfs_service,
   });
 
 /*---------------------------------------------------------------------------*/
-struct cfs_service_interface *
+const struct cfs_service_interface *
 cfs_find_service(void)
 {
   struct service *s;
diff --git a/core/ctk/ctk-draw.c b/core/ctk/ctk-draw.c
index bd4e2afc9..4354f1bcd 100644
--- a/core/ctk/ctk-draw.c
+++ b/core/ctk/ctk-draw.c
@@ -30,7 +30,7 @@
  * 
  * 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
 ctk_draw_init(void)
 {
-  struct ctk_draw_service *i;
+  const struct ctk_draw_service *i;
   struct service *s;
   
   s = SERVICE_FIND(ctk_draw_service);
diff --git a/core/net/uip-fw.c b/core/net/uip-fw.c
index 44acf25ba..d2769bd3a 100644
--- a/core/net/uip-fw.c
+++ b/core/net/uip-fw.c
@@ -30,7 +30,7 @@
  *
  * 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
@@ -256,7 +256,7 @@ time_exceeded(void)
      IP header (20) = 56. */
   uip_len = 56;
   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. */
   ICMPBUF->vhl = 0x45;