summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-11-28 23:41:17 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-11-28 23:41:17 +0100
commitd010c4ff1b0b8afcac0d61e24af2276aa9f8f0e7 (patch)
tree1afb1d8abf6a72f365692cbda0be73d01a5a98fe
parent687203adbbb962f79780586dcf601622b6e4a3ec (diff)
MSVC-style print
-rw-r--r--plugins/winsys/winsys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/winsys/winsys.cpp b/plugins/winsys/winsys.cpp
index 299b8f87..b6d27f45 100644
--- a/plugins/winsys/winsys.cpp
+++ b/plugins/winsys/winsys.cpp
@@ -192,7 +192,7 @@ getMemoryInfo (void)
 	meminfo.dwLength = sizeof (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;
 }