Re: [PATCH 1/1] lib: aes: build failure with DEBUG=1

2021-01-18 Thread Tom Rini
On Mon, Dec 28, 2020 at 05:56:27PM +0100, Heinrich Schuchardt 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",

Re: [PATCH 1/1] lib: aes: build failure with DEBUG=1

2020-12-28 Thread Simon Glass
On Mon, 28 Dec 2020 at 09:56, Heinrich Schuchardt 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,

[PATCH 1/1] lib: aes: build failure with DEBUG=1

2020-12-28 Thread Heinrich Schuchardt
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