Skip to content

Commit

Permalink
change C type
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jan 14, 2025
1 parent 2f44d79 commit 1d6cde0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psutil/arch/osx/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


static int
psutil_sys_vminfo(vm_statistics_data_t *vmstat) {
psutil_sys_vminfo(vm_statistics64_t *vmstat) {
kern_return_t ret;
unsigned int count = HOST_VM_INFO64_COUNT;
mach_port_t mport = mach_host_self();
Expand Down Expand Up @@ -49,7 +49,7 @@ psutil_virtual_mem(PyObject *self, PyObject *args) {
int mib[2];
uint64_t total;
size_t len = sizeof(total);
vm_statistics_data_t vm;
vm_statistics64_t vm;
long pagesize = psutil_getpagesize();
// physical mem
mib[0] = CTL_HW;
Expand Down

0 comments on commit 1d6cde0

Please sign in to comment.