summaryrefslogtreecommitdiffstats
path: root/darwin/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'darwin/Platform.c')
-rw-r--r--darwin/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin/Platform.c b/darwin/Platform.c
index c025509f..80899064 100644
--- a/darwin/Platform.c
+++ b/darwin/Platform.c
@@ -218,7 +218,7 @@ double Platform_setCPUValues(Meter* mtr, int cpu) {
void Platform_setMemoryValues(Meter* mtr) {
DarwinProcessList *dpl = (DarwinProcessList *)mtr->pl;
- vm_statistics64_t vm = &dpl->vm_stats;
+ vm_statistics_t vm = &dpl->vm_stats;
double page_K = (double)vm_page_size / (double)1024;
mtr->total = dpl->host_info.max_mem / 1024;