MSVC-style print

This commit is contained in:
Berke Viktor 2011-11-28 23:41:17 +01:00
parent 687203adbb
commit d010c4ff1b
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ getMemoryInfo (void)
meminfo.dwLength = sizeof (meminfo); meminfo.dwLength = sizeof (meminfo);
GlobalMemoryStatusEx (&meminfo); GlobalMemoryStatusEx (&meminfo);
sprintf (buffer, "%lld MB Total (%lld MB Free)", meminfo.ullTotalPhys / 1024 / 1024, meminfo.ullAvailPhys / 1024 / 1024); sprintf (buffer, "%I64d MB Total (%I64d MB Free)", meminfo.ullTotalPhys / 1024 / 1024, meminfo.ullAvailPhys / 1024 / 1024);
return buffer; return buffer;
} }