From 69390dbba1b213f9af1a743b1dbae292cc96e9de Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 26 May 2009 12:33:52 +0000 Subject: acpi.c: add a cast to remove warning (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4301 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/i386/boot') diff --git a/src/arch/i386/boot/acpi.c b/src/arch/i386/boot/acpi.c index 589dc6422a..658c1b32d8 100644 --- a/src/arch/i386/boot/acpi.c +++ b/src/arch/i386/boot/acpi.c @@ -495,7 +495,7 @@ void *acpi_find_wakeup_vector(void) return NULL; printk_debug("FADT found at %p\n", fadt); - facs = fadt->firmware_ctrl; + facs = (acpi_facs_t *)fadt->firmware_ctrl; if (facs == NULL) { printk_debug("No FACS found, wake up from S3 not possible.\n"); -- cgit v1.2.3