summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-13 21:42:40 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-03-16 10:06:59 +0000
commitdc7c99b99e7f74bd1fea1da5f42b941a782f0814 (patch)
treeed9078e39b988abdc3c8172a343670a8b31b1e59
parent80591575f7abedcf13f05f39af621404bfe96e08 (diff)
downloadflashrom-dc7c99b99e7f74bd1fea1da5f42b941a782f0814.tar.gz
flashrom-dc7c99b99e7f74bd1fea1da5f42b941a782f0814.tar.bz2
flashrom-dc7c99b99e7f74bd1fea1da5f42b941a782f0814.zip
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>
-rw-r--r--cbtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cbtable.c b/cbtable.c
index 1424f4548..d50a0cfc5 100644
--- a/cbtable.c
+++ b/cbtable.c
@@ -257,7 +257,7 @@ static struct lb_header *find_lb_table_remap(unsigned long start_addr,
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;
}