libpayload: Get rid of a compiler warning.
BUG=None TEST=Built for falco, snow, link. BRANCH=None Change-Id: I7252925ef5c4efb69cad6b6fa179031162cf8e74 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/61058 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
a3b4cd8d22
commit
b41c082ccf
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue