Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/51684 )
Change subject: mb/emulation/qemu-q35: Fix format specifier for a `size_t` ......................................................................
mb/emulation/qemu-q35: Fix format specifier for a `size_t`
Fix compilation on GCC 10.2.1
Change-Id: I47d29ef065f57f171f429bb6a368bc86e31acee9 Signed-off-by: Benjamin Doron benjamin.doron00@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/51684 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com --- M src/mainboard/emulation/qemu-q35/cpu.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
diff --git a/src/mainboard/emulation/qemu-q35/cpu.c b/src/mainboard/emulation/qemu-q35/cpu.c index b30d729..fb31fc5 100644 --- a/src/mainboard/emulation/qemu-q35/cpu.c +++ b/src/mainboard/emulation/qemu-q35/cpu.c @@ -16,7 +16,7 @@
/* FIXME: on X86_64 the save state size is smaller than the size of the SMM stub */ *smm_save_state_size = sizeof(amd64_smm_state_save_area_t); - printk(BIOS_DEBUG, "Save state size: 0x%lx bytes\n", *smm_save_state_size); + printk(BIOS_DEBUG, "Save state size: 0x%zx bytes\n", *smm_save_state_size); }
/*