fix(st-uart): allow 64 bit compilation

Change a %x in %zx to print a size_t variable.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Change-Id: I27ac3739f4a2ec3b33c34d2257fa858cbd1aae6a
This commit is contained in:
Yann Gautier 2022-04-14 09:40:01 +02:00 committed by Yann Gautier
parent a2500ab7ab
commit 6fef0f67e4

View file

@ -409,7 +409,7 @@ static int uart_read(uint8_t id, uintptr_t buffer, size_t length)
handle.addr = (uint8_t *)buffer;
handle.len = length;
INFO("UART: read phase %u at 0x%lx size 0x%x\n",
INFO("UART: read phase %u at 0x%lx size 0x%zx\n",
id, buffer, length);
while (!start_done) {
ret = uart_receive_command(&command);