Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
Diff: core/uip/NyLPC_uip.h
- Revision:
- 11:c82a7b2899b0
- Parent:
- 1:9f6a78395432
- Child:
- 37:fc4b4fd6a649
--- a/core/uip/NyLPC_uip.h Tue Apr 16 16:10:11 2013 +0000
+++ b/core/uip/NyLPC_uip.h Sat Apr 20 03:47:14 2013 +0000
@@ -113,7 +113,7 @@
NyLPC_TIpv4Addr_set(&ip,1,2,3,4);
\endcode
*/
-#define NyLPC_TIPv4Addr_set(s,a0,a1,a2,a3) (s).v=NyLPC_htonl((0xff000000&(a0<<24))|(0x00ff0000&(a1<<16))|(0x0000ff00&(a2<<8))|(0x000000ff&(a3)))
+#define NyLPC_TIPv4Addr_set(s,a0,a1,a2,a3) (s)->v=NyLPC_htonl((0xff000000&(a0<<24))|(0x00ff0000&(a1<<16))|(0x0000ff00&(a2<<8))|(0x000000ff&(a3)))
#define NyLPC_TIPv4Addr_pack(a0,a1,a2,a3) {NyLPC_HTONL((0xff000000&(a0<<24))|(0x00ff0000&(a1<<16))|(0x0000ff00&(a2<<8))|(0x000000ff&(a3)))}
