mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-15 11:35:40 +00:00
MSVC-style print
This commit is contained in:
1 parent
687203adbb
commit
d010c4ff1b
1 file changed
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user