From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 18 Jan 2021 08:01:58 -0500 Subject: [PATCH 1/1] lib: aes: build failure with DEBUG=1 In-Reply-To: <20201228165627.246425-1-xypron.glpk@gmx.de> References: <20201228165627.246425-1-xypron.glpk@gmx.de> Message-ID: <20210118130158.GB9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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", 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: