summaryrefslogtreecommitdiffstats
path: root/bsps/arm
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-30 10:25:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-08-09 07:22:10 +0200
commit5c2f2b304a85b5dc121eaf776a10e70c6578cc86 (patch)
tree78d1087d93eb139c259c1c9916e12a770860d6dd /bsps/arm
parentvalidation: Fix variable type (diff)
downloadrtems-5c2f2b304a85b5dc121eaf776a10e70c6578cc86.tar.bz2
bsp/lpc32xx: Fix warning
The type is a pointer.
Diffstat (limited to 'bsps/arm')
-rw-r--r--bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h2
1 files changed, 1 insertions, 1 deletions
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);
}
/** @} */