diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-28 17:56:27 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-16 19:17:11 -0500 |
commit | 3e50deece014bc6e3dc57e85dc2b903630f7f69a (patch) | |
tree | f78526b7dfff6e36e1dfde1435cb38a0465cfaea /arch | |
parent | 0634b374aeb96f8e1b0c76e77de3b247577254e8 (diff) | |
download | u-boot-3e50deece014bc6e3dc57e85dc2b903630f7f69a.zip u-boot-3e50deece014bc6e3dc57e85dc2b903630f7f69a.tar.gz u-boot-3e50deece014bc6e3dc57e85dc2b903630f7f69a.tar.bz2 |
lib: aes: build failure with DEBUG=1
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions