security/intel/stm/SmmStm.c: Fix size_t printf format error

Replaced the 'l' with a 'z' to clear up the issue.

Change-Id: I696b615b4dd3bacda7151c91fff17f9b01b17821
Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55623
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Eugene Myers 2021-06-16 09:26:38 -04:00 committed by Stefan Reinauer
parent 2b32db6ddc
commit 701180f069
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ int add_pi_resource(STM_RSC *resource_list, uint32_t num_entries)
return -1; // INVALID_PARAMETER;
resource_size = get_resource_size(resource_list, num_entries);
printk(BIOS_DEBUG, "STM: ResourceSize - 0x%08lx\n", resource_size);
printk(BIOS_DEBUG, "STM: ResourceSize - 0x%08x\n", (int) resource_size);
if (resource_size == 0)
return -1; // INVALID_PARAMETER;