Commit 6066985c authored by Francis Dupont's avatar Francis Dupont
Browse files

Fixed isc_meminfo_totalphys return cast (size_t is *not* 64 bit)

parent b39bbe3c
......@@ -25,5 +25,5 @@ isc_meminfo_totalphys(void) {
MEMORYSTATUSEX statex;
status.dwLength = sizeof(statex);
GlobalMemoryStatusEx(&statex);
return ((size_t)statex.ullTotalPhys);
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