From 6edde498e386ee0f359da27c5167fba75415d449 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 11 Oct 2016 09:52:44 +0200 Subject: [PATCH] pbuf_copy: try to fix GCC const warning --- src/core/pbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/pbuf.c b/src/core/pbuf.c index ac638046..1c45224a 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -934,7 +934,7 @@ pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from) u16_t offset_to=0, offset_from=0, len; LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_copy(%p, %p)\n", - (void*)p_to, (void*)p_from)); + (const void*)p_to, (const 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) &&