soc/intel/alderlake: Use correct formatted print for size_t
Change-Id: Ifc0374ed49ecefc57dec8e72e73bac031838a9f5
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64238
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/intel/alderlake/bootblock/update_descriptor.c b/src/soc/intel/alderlake/bootblock/update_descriptor.c
index 436825d..dbb152c 100644
--- a/src/soc/intel/alderlake/bootblock/update_descriptor.c
+++ b/src/soc/intel/alderlake/bootblock/update_descriptor.c
@@ -60,7 +60,7 @@
for (size_t i = 0; i < num; i++) {
size_t offset = bytes[i].offset;
uint8_t desired_value = bytes[i].desired_value;
- printk(BIOS_DEBUG, "Current value of Descriptor byte 0x%lx: 0x%x\n",
+ printk(BIOS_DEBUG, "Current value of Descriptor byte 0x%zx: 0x%x\n",
offset, si_desc_buf[offset]);
if (si_desc_buf[offset] != desired_value) {
update_required = true;