summaryrefslogtreecommitdiff
path: root/tests/lib/imd_cbmem-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/imd_cbmem-test.c')
-rw-r--r--tests/lib/imd_cbmem-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/imd_cbmem-test.c b/tests/lib/imd_cbmem-test.c
index 6c0ba5ad41..b1cca04742 100644
--- a/tests/lib/imd_cbmem-test.c
+++ b/tests/lib/imd_cbmem-test.c
@@ -21,9 +21,9 @@
static void reset_imd(void)
{
- imd.lg.limit = (uintptr_t)NULL;
+ imd.lg.limit = 0;
imd.lg.r = NULL;
- imd.sm.limit = (uintptr_t)NULL;
+ imd.sm.limit = 0;
imd.sm.r = NULL;
cbmem_initialized = 0;