Fix some warnings discovered by compiling the unixsim under cygwin (gcc pedantic)

This commit is contained in:
goldsimon
2007-11-25 13:57:05 +00:00
parent 1b208d0954
commit e1f49d990b
5 changed files with 13 additions and 13 deletions

View File

@@ -678,7 +678,8 @@ pbuf_copy(struct pbuf *p_to, struct pbuf *p_from)
{
u16_t offset_to=0, offset_from=0, len;
LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE | 3, ("pbuf_copy(%p, %p)\n", p_to, p_from));
LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE | 3, ("pbuf_copy(%p, %p)\n",
(void*)p_to, (void*)p_from));
/* is the target big enough to hold the source? */
LWIP_ERROR("pbuf_copy: target not big enough to hold source", ((p_to != NULL) &&