Angel Pons submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved Edward O'Callaghan: Looks good to me, approved
cbtable.c: Use correct format specifier for `size_t`

Fixes building on 32-bit x86 systems.

Change-Id: I8d798804f8055cdaff45f123e4f0d6ab4b71ba60
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/51478
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
---
M cbtable.c
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cbtable.c b/cbtable.c
index 1424f45..d50a0cf 100644
--- a/cbtable.c
+++ b/cbtable.c
@@ -257,7 +257,7 @@
recs = (struct lb_record *)(((char *)base) + offset + sizeof(*head));
if (!lb_table_valid(head, recs))
continue;
- msg_pdbg("Found coreboot table at 0x%08lx.\n", offset);
+ msg_pdbg("Found coreboot table at 0x%08zx.\n", offset);
*table_area = base;
return head;
}

To view, visit change 51478. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8d798804f8055cdaff45f123e4f0d6ab4b71ba60
Gerrit-Change-Number: 51478
Gerrit-PatchSet: 2
Gerrit-Owner: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged