Fork of NetServicesMin with some warnings removed

Dependencies:   lwip-sys lwip

Fork of NetServicesMin by Hendrik Lipka

Revision:
2:9cc2c6e42ffd
Parent:
0:8b387bed54c2
diff -r 9d93f4dc2f46 -r 9cc2c6e42ffd if/lwip/lwipNetUdpSocket.cpp
--- a/if/lwip/lwipNetUdpSocket.cpp	Wed Jul 18 20:28:43 2012 +0000
+++ b/if/lwip/lwipNetUdpSocket.cpp	Tue Oct 30 05:20:56 2012 +0000
@@ -97,7 +97,8 @@
     q = q->next;
   } while(q != NULL);
 
-  err_t err = udp_sendto( (udp_pcb*) m_pPcb, p, &(pHost->getIp().getStruct()), pHost->getPort() );
+  ip_addr_t hip(pHost->getIp().getStruct());
+  err_t err = udp_sendto( (udp_pcb*) m_pPcb, p, &hip, pHost->getPort() );
   pbuf_free( p );
   if(err)
     return NETUDPSOCKET_SETUP; //Connection problem