summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
Diffstat (limited to 'exec')
-rw-r--r--exec/hostarch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/hostarch.c b/exec/hostarch.c
index ec59a417..b37adb97 100644
--- a/exec/hostarch.c
+++ b/exec/hostarch.c
@@ -39,7 +39,7 @@ elf_machine_matches_host (ElfW(Half) e_machine)
mach_msg_type_number_t hostinfocnt = HOST_BASIC_INFO_COUNT;
err = host_info (mach_host_self (), HOST_BASIC_INFO,
- (natural_t *) &hostinfo, &hostinfocnt);
+ (host_info_t) &hostinfo, &hostinfocnt);
if (err)
return err;
assert (hostinfocnt == HOST_BASIC_INFO_COUNT);