Change type so that memory values are correct (Fixes #65)
This commit is contained in:
committed by
Gaël Bonithon
parent
86c8586a63
commit
0a155096e5
@@ -30,7 +30,7 @@ get_memory_usage (guint64 *memory_total, guint64 *memory_available, guint64 *mem
|
||||
{
|
||||
FILE *file;
|
||||
gchar *filename = "/proc/meminfo";
|
||||
gulong mem_total = 0,
|
||||
guint64 mem_total = 0,
|
||||
mem_free = 0,
|
||||
mem_avail = 0,
|
||||
mem_cached = 0,
|
||||
|
||||
Reference in New Issue
Block a user