mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00
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:
parent
a2500ab7ab
commit
6fef0f67e4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue