From 418f57dd6afafbbf740b2d27e17891f31241799a Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 8 Oct 2007 19:06:58 +0000 Subject: [PATCH] Removed type conversion warning in debug statement. --- src/core/sys.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/sys.c b/src/core/sys.c index 8f209277..d207e75a 100644 --- a/src/core/sys.c +++ b/src/core/sys.c @@ -97,7 +97,7 @@ sys_mbox_fetch(sys_mbox_t mbox, void **msg) arg = tmptimeout->arg; memp_free(MEMP_SYS_TIMEOUT, tmptimeout); if (h != NULL) { - LWIP_DEBUGF(SYS_DEBUG, ("smf calling h=%p(%p)\n", (void *)h, (void *)arg)); + LWIP_DEBUGF(SYS_DEBUG, ("smf calling h=%p(%p)\n", h, (void *)arg)); h(arg); } @@ -154,7 +154,7 @@ sys_sem_wait(sys_sem_t sem) arg = tmptimeout->arg; memp_free(MEMP_SYS_TIMEOUT, tmptimeout); if (h != NULL) { - LWIP_DEBUGF(SYS_DEBUG, ("ssw h=%p(%p)\n", (void *)h, (void *)arg)); + LWIP_DEBUGF(SYS_DEBUG, ("ssw h=%p(%p)\n", h, (void *)arg)); h(arg); } @@ -203,7 +203,7 @@ sys_timeout(u32_t msecs, sys_timeout_handler h, void *arg) timeouts = sys_arch_timeouts(); LWIP_DEBUGF(SYS_DEBUG, ("sys_timeout: %p msecs=%"U32_F" h=%p arg=%p\n", - (void *)timeout, msecs, (void *)h, (void *)arg)); + (void *)timeout, msecs, h, (void *)arg)); if (timeouts == NULL) { LWIP_ASSERT("sys_timeout: timeouts != NULL", timeouts != NULL);