diff options
Diffstat (limited to 'libps/host.c')
-rw-r--r-- | libps/host.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libps/host.c b/libps/host.c index 3ef83cae..8b45639f 100644 --- a/libps/host.c +++ b/libps/host.c @@ -58,7 +58,7 @@ ps_host_basic_info (host_basic_info_t *info) if (!initialized) { - size_t size = sizeof (buf); + mach_msg_type_number_t size = sizeof (buf); error_t err = host_info (ps_get_host (), HOST_BASIC_INFO, (host_info_t) &buf, &size); if (err) @@ -82,7 +82,7 @@ ps_host_sched_info (host_sched_info_t *info) if (!initialized) { - size_t size = sizeof (buf); + mach_msg_type_number_t size = sizeof (buf); error_t err = host_info (ps_get_host (), HOST_SCHED_INFO, (host_info_t) &buf, &size); if (err) @@ -102,7 +102,7 @@ error_t ps_host_load_info (host_load_info_t *info) { static host_load_info_data_t buf; - size_t size = sizeof (buf); + mach_msg_type_number_t size = sizeof (buf); error_t err = host_info (ps_get_host (), HOST_LOAD_INFO, (host_info_t) &buf, &size); |