From fdc526e875090915228594c122de65a1e54cb5c9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 28 Nov 2013 17:47:03 -0600 Subject: Changes for ZDS-II ez80 build --- nuttx/net/uip/uip_tcpconn.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nuttx/net/uip/uip_tcpconn.c') diff --git a/nuttx/net/uip/uip_tcpconn.c b/nuttx/net/uip/uip_tcpconn.c index 348230010..6e1eb6d9d 100644 --- a/nuttx/net/uip/uip_tcpconn.c +++ b/nuttx/net/uip/uip_tcpconn.c @@ -227,7 +227,9 @@ struct uip_conn *uip_tcpalloc(void) * that is in the UIP_TIME_WAIT or UIP_FIN_WAIT_1 state. */ - struct uip_conn *tmp = g_active_tcp_connections.head; + FAR struct uip_conn *tmp = + (FAR struct uip_conn *)g_active_tcp_connections.head; + while (tmp) { nllvdbg("conn: %p state: %02x\n", tmp, tmp->tcpstateflags); @@ -252,7 +254,7 @@ struct uip_conn *uip_tcpalloc(void) /* Look at the next active connection */ - tmp = tmp->node.flink; + tmp = (FAR struct uip_conn *)tmp->node.flink; } /* Did we find a connection that we can re-use? */ -- cgit v1.2.3