acpi.c: add a cast to remove warning (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4301 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/arch/i386/boot/acpi.c b/src/arch/i386/boot/acpi.c
index 589dc64..658c1b3 100644
--- a/src/arch/i386/boot/acpi.c
+++ b/src/arch/i386/boot/acpi.c
@@ -495,7 +495,7 @@
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");