delta param

Dependents:   EthernetInterface

Fork of lwip by mbed official

Files at this revision

API Documentation at this revision

Comitter:
emilmont
Date:
Fri Jun 22 13:39:39 2012 +0000
Parent:
2:fcd6ac34b3f8
Child:
4:f71f5d9d5846
Commit message:
Apply change from NXP sources

Changed in this revision

core/pbuf.c Show annotated file Show diff for this revision Revisions of this file
--- a/core/pbuf.c	Fri Jun 22 11:11:29 2012 +0000
+++ b/core/pbuf.c	Fri Jun 22 13:39:39 2012 +0000
@@ -376,7 +376,7 @@
 
   p->pbuf.next = NULL;
   if (payload_mem != NULL) {
-    p->pbuf.payload = LWIP_MEM_ALIGN((void *)((u8_t *)payload_mem + offset));
+    p->pbuf.payload = (void *)((u8_t *)payload_mem + offset);
   } else {
     p->pbuf.payload = NULL;
   }