Remove remaining redundant casts
Signed-off-by: Agathiyan Bragadeesh <agathiyan.bragadeesh2@arm.com>
diff --git a/tests/src/psa_exercise_key.c b/tests/src/psa_exercise_key.c
index 1ef2622..7f93496 100644
--- a/tests/src/psa_exercise_key.c
+++ b/tests/src/psa_exercise_key.c
@@ -748,14 +748,14 @@
MBEDTLS_ASN1_SEQUENCE |
MBEDTLS_ASN1_CONSTRUCTED),
0);
- TEST_EQUAL(len, (uintptr_t) end - (uintptr_t) p);
+ TEST_EQUAL(len, end - p);
if (!mbedtls_test_asn1_skip_integer(&p, end, bits, bits, 1)) {
goto exit;
}
if (!mbedtls_test_asn1_skip_integer(&p, end, 2, bits, 1)) {
goto exit;
}
- TEST_EQUAL((uintptr_t) p - (uintptr_t) end, 0);
+ TEST_EQUAL(p - end, 0);
TEST_ASSERT(exported_length <=