commit | d102abdfacdcddd0dc6128c61c0bdadec9dce6ef | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Dec 28 17:56:27 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Jan 16 19:17:11 2021 -0500 |
tree | f78526b7dfff6e36e1dfde1435cb38a0465cfaea | |
parent | 109e1a3aa5f71d666bc742741a9c53c3ccab8cff [diff] |
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>