mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
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>
This commit is contained in:
parent
80591575f7
commit
dc7c99b99e
@ -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));
|
recs = (struct lb_record *)(((char *)base) + offset + sizeof(*head));
|
||||||
if (!lb_table_valid(head, recs))
|
if (!lb_table_valid(head, recs))
|
||||||
continue;
|
continue;
|
||||||
msg_pdbg("Found coreboot table at 0x%08lx.\n", offset);
|
msg_pdbg("Found coreboot table at 0x%08zx.\n", offset);
|
||||||
*table_area = base;
|
*table_area = base;
|
||||||
return head;
|
return head;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user