diff options
author | Roland McGrath <roland@gnu.org> | 1995-01-19 06:24:14 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-01-19 06:24:14 +0000 |
commit | d9e84361d7acc5347a8dbdd5abdeca77e17335ed (patch) | |
tree | 34cdecddb742b0bc74cf0acdc9705588550ff65e /exec | |
parent | 4ef823f834aa7e8227a30e586819cfad0c152548 (diff) |
(bfd_mach_host_arch_mach, aout_mach_host_machine): Use
mach_msg_type_number_t instead of unsigned int. Cast &HOSTINFO to
(natural_t *).
Diffstat (limited to 'exec')
-rw-r--r-- | exec/hostarch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/exec/hostarch.c b/exec/hostarch.c index 754d512e..05b6813b 100644 --- a/exec/hostarch.c +++ b/exec/hostarch.c @@ -40,9 +40,10 @@ aout_mach_host_machine (host_t host, int *host_machine) { error_t err; struct host_basic_info hostinfo; - unsigned int hostinfocnt = HOST_BASIC_INFO_COUNT; + mach_msg_type_number_t hostinfocnt = HOST_BASIC_INFO_COUNT; - if (err = host_info (host, HOST_BASIC_INFO, &hostinfo, &hostinfocnt)) + if (err = host_info (host, HOST_BASIC_INFO, + (natural_t *) &hostinfo, &hostinfocnt)) return err; #ifdef BFD |