[coreboot-gerrit] New patch to review for coreboot: 06168a8 libpayload: Get rid of a compiler warning
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Tue Dec 3 21:44:55 CET 2013
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4346
-gerrit
commit 06168a8bbd462cf345541dbb24d5a959d331129c
Author: Gabe Black <gabeblack at google.com>
Date: Sat Jul 6 22:11:19 2013 -0700
libpayload: Get rid of a compiler warning
Change-Id: I7252925ef5c4efb69cad6b6fa179031162cf8e74
Signed-off-by: Gabe Black <gabeblack at google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/61058
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
Commit-Queue: Gabe Black <gabeblack at chromium.org>
Tested-by: Gabe Black <gabeblack at chromium.org>
---
payloads/libpayload/arch/x86/coreboot.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/payloads/libpayload/arch/x86/coreboot.c b/payloads/libpayload/arch/x86/coreboot.c
index 6c6122d..bd10b22 100644
--- a/payloads/libpayload/arch/x86/coreboot.c
+++ b/payloads/libpayload/arch/x86/coreboot.c
@@ -31,6 +31,7 @@
#include <libpayload-config.h>
#include <libpayload.h>
#include <coreboot_tables.h>
+#include <stdint.h>
/*
* Some of this is x86 specific, and the rest of it is generic. Right now,
@@ -83,7 +84,7 @@ static void cb_parse_vboot_handoff(unsigned char *ptr, struct sysinfo_t *info)
{
struct cb_vboot_handoff *vbho = (struct cb_vboot_handoff *)ptr;
- info->vboot_handoff = vbho->vboot_handoff_addr;
+ info->vboot_handoff = (void *)(uintptr_t)vbho->vboot_handoff_addr;
info->vboot_handoff_size = vbho->vboot_handoff_size;
}
More information about the coreboot-gerrit
mailing list