summaryrefslogtreecommitdiff
path: root/tests/lib/imd-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/imd-test.c')
-rw-r--r--tests/lib/imd-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/imd-test.c b/tests/lib/imd-test.c
index de42e08e3c..b95b7424a7 100644
--- a/tests/lib/imd-test.c
+++ b/tests/lib/imd-test.c
@@ -232,7 +232,7 @@ static void test_imd_recover(void **state)
const struct imd_entry *lg_entry;
/* Fail when the limit for lg was not set. */
- imd.lg.limit = (uintptr_t)NULL;
+ imd.lg.limit = 0;
assert_int_equal(-1, imd_recover(&imd));
/* Set the limit for lg. */