Removed finally unnecessary cast (and reverted unintentionally commited change).

This commit is contained in:
oliverschmidt 2008-02-10 22:52:41 +00:00
parent 2632f8f937
commit b252bb9fc9

View file

@ -29,7 +29,7 @@
* *
* This file is part of the Contiki OS * This file is part of the Contiki OS
* *
* $Id: contiki-main.c,v 1.14 2008/01/04 21:55:18 oliverschmidt Exp $ * $Id: contiki-main.c,v 1.15 2008/02/10 22:52:41 oliverschmidt Exp $
* *
*/ */
@ -63,9 +63,9 @@ main(void)
procinit_init(); procinit_init();
autostart_start((struct process **)autostart_processes); autostart_start(autostart_processes);
uip_ipaddr(&addr, 10,10,0,11); uip_ipaddr(&addr, 192,168,2,2);
printf("IP Address: %d.%d.%d.%d\n", uip_ipaddr_to_quad(&addr)); printf("IP Address: %d.%d.%d.%d\n", uip_ipaddr_to_quad(&addr));
uip_sethostaddr(&addr); uip_sethostaddr(&addr);