mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-25 22:56:35 +08:00
Fix cast from pointer to integer of different size
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
ee8109541a
commit
a1dfa14c06
@ -54,7 +54,7 @@ void null_pointer_call(const char *name)
|
||||
(void) name;
|
||||
unsigned (*p)(void);
|
||||
mbedtls_platform_zeroize(&p, sizeof(p));
|
||||
mbedtls_printf("%llx() -> %u\n", (unsigned long long) p, p());
|
||||
mbedtls_printf("%llx() -> %u\n", (unsigned long long) (uintptr_t) p, p());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user