From 06c373d16244862916c215c7e2474866ec46cd7e Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 25 Jun 2018 13:02:27 -0500 Subject: [PATCH] drivers/intel/fsp1_1: Fix vbt_len type Type of vbt_len should be size_t, change to fix compiler error Change-Id: I22798fa0edb98fcb9acc1b2dd52f34a61bc511e9 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/27224 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/drivers/intel/fsp1_1/vbt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/intel/fsp1_1/vbt.c b/src/drivers/intel/fsp1_1/vbt.c index b73d3a293c..b6bb308ed9 100644 --- a/src/drivers/intel/fsp1_1/vbt.c +++ b/src/drivers/intel/fsp1_1/vbt.c @@ -26,7 +26,7 @@ void load_vbt(uint8_t s3_resume, SILICON_INIT_UPD *params) { const optionrom_vbt_t *vbt_data = NULL; - uint32_t vbt_len; + size_t vbt_len; /* Check boot mode - for S3 resume path VBT loading is not needed */ if (s3_resume) {