1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-01 21:52:17 -05:00

MSVC-style print

This commit is contained in:
Berke Viktor 2011-11-28 23:41:17 +01:00
parent 687203adbb
commit d010c4ff1b

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;
} }