Commit 722ed140 authored by Francis Dupont's avatar Francis Dupont
Browse files

Fixed status vs statex

parent 29d9a292
......@@ -23,7 +23,8 @@
isc_uint64_t
isc_meminfo_totalphys(void) {
MEMORYSTATUSEX statex;
status.dwLength = sizeof(statex);
statex.dwLength = sizeof(statex);
GlobalMemoryStatusEx(&statex);
return ((isc_uint64_t)statex.ullTotalPhys);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment