Fix format-pedantic error in programs/test/metatest.c

Signed-off-by: Michael Schuster <[email protected]>
This commit is contained in:
Michael Schuster
2024-08-06 12:09:13 +01:00
committed by Minos Galanakis
parent ff4d6aea04
commit 46a6e73285
+1 -1
View File
@@ -128,7 +128,7 @@ static void null_pointer_dereference(const char *name)
volatile char *volatile p;
set_to_zero_but_the_compiler_does_not_know(&p, sizeof(p));
/* Undefined behavior (read from null data pointer) */
mbedtls_printf("%p -> %u\n", p, (unsigned) *p);
mbedtls_printf("%p -> %u\n", (void *) p, (unsigned) *p);
}
static void null_pointer_call(const char *name)