[PATCH 1/5] bsp/lpc32xx: Fix warning
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Aug 7 07:02:16 UTC 2023
The type is a pointer.
---
bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h b/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
index 14282fd578..df74b085b1 100644
--- a/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
+++ b/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
@@ -100,7 +100,7 @@ static char *lpc_eth_config_alloc_table_area(size_t size)
static void lpc_eth_config_free_table_area(char *table_area)
{
/* FIXME: Type */
- free(table_area, (int) 0xdeadbeef);
+ free(table_area, NULL);
}
/** @} */
--
2.35.3
More information about the devel
mailing list