mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-01 21:52:17 -05:00
MSVC-style print
This commit is contained in:
parent
687203adbb
commit
d010c4ff1b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user