* pbuf.c, ppp.c: Fix warnings on some systems with mem_malloc.

This commit is contained in:
jifl
2008-03-04 16:37:46 +00:00
parent 30d4c243ec
commit f067d34392
3 changed files with 3 additions and 2 deletions

View File

@@ -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;
}