summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/model_dep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index 4ba617c..573ca6d 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -371,7 +371,7 @@ i386at_init(void)
void c_boot_entry(vm_offset_t bi)
{
/* Stash the boot_image_info pointer. */
- boot_info = *(struct multiboot_info*)phystokv(bi);
+ boot_info = *(typeof(boot_info)*)phystokv(bi);
int cpu_type;
/* Before we do _anything_ else, print the hello message.