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>
This commit is contained in:
Benjamin Doron 2021-03-20 15:41:57 +00:00 committed by Patrick Georgi
parent 427487b173
commit 8c5994f92d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ static void get_smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
/* 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);
}
/*