
29 Dec
2020
29 Dec
'20
4:32 a.m.
On Mon, 28 Dec 2020 at 09:56, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Building fails with DEBUG=1:
lib/aes.c: In function ‘debug_print_vector’: lib/aes.c:622:45: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 622 | printf("%s [%d] @0x%08x", name, num_bytes, (u32)data);
Pointers can only be cast to (uintptr_t). But anyway we have %p for printing pointers.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
lib/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org