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

Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
Michael Schuster 2024-06-07 20:58:06 +02:00 committed by Minos Galanakis
parent f672b694fa
commit 82cb06913a

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)