Removed compiler warning.

This commit is contained in:
oliverschmidt 2007-11-18 01:06:43 +00:00
parent 84272a3dcb
commit 2f9e498620

View File

@ -30,9 +30,12 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $Id: irc.c,v 1.3 2007/09/29 04:12:16 matsutsuka Exp $
* $Id: irc.c,v 1.4 2007/11/18 01:06:43 oliverschmidt Exp $
*/
#include <string.h>
#include <stddef.h>
#include "contiki-conf.h"
#include "contiki.h"
#include "contiki-net.h"
@ -44,9 +47,6 @@
#include "lib/petsciiconv.h"
#include <string.h>
#ifdef IRC_CONF_WIDTH
#define LOG_WIDTH IRC_CONF_WIDTH
#else
@ -274,7 +274,7 @@ PROCESS_THREAD(irc_process, ev, data)
}
#endif /* UIP_UDP */
} else if(ev == ctk_signal_keypress) {
c = (ctk_arch_key_t)data;
c = (ctk_arch_key_t)(size_t)data;
if(c == CH_ENTER) {
parse_line();
} else {