no size_t cast for GlobalMemoryStatusEx result

This commit is contained in:
dwarning 2020-04-04 18:13:13 +02:00 committed by Holger Vogt
parent 7889b5d540
commit d735c60183
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ unsigned long long getAvailableMemorySize( )
MEMORYSTATUSEX status;
status.dwLength = sizeof(status);
GlobalMemoryStatusEx( &status );
return (size_t)status.ullAvailPhys;
return status.ullAvailPhys;
#elif defined(__APPLE__) && defined(__MACH__)