mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 00:23:39 +08:00
* pbuf.c, ppp.c: Fix warnings on some systems with mem_malloc.
This commit is contained in:
@@ -400,7 +400,7 @@ pppInit(void)
|
||||
|
||||
subnetMask = htonl(0xffffff00);
|
||||
|
||||
outpacket_buf[i] = mem_malloc(PPP_MRU+PPP_HDRLEN);
|
||||
outpacket_buf[i] = (u_char *)mem_malloc(PPP_MRU+PPP_HDRLEN);
|
||||
if(!outpacket_buf[i]) {
|
||||
return ERR_MEM;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user