diff options
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/imd-test.c | 2 | ||||
-rw-r--r-- | tests/lib/imd_cbmem-test.c | 4 |
2 files changed, 3 insertions, 3 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. */ 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; |