fixed uncorrect ram usage

While (as per specification) size of total ram reported by sysctl should be
64 bits it's actually 32.
This commit is contained in:
Pawel "l0ner" Soltys 2015-01-11 18:03:22 +01:00
parent df5d66fdbf
commit a2e8459457

@ -25,9 +25,9 @@
#include "common.h"
#include "memory.h"
std::string mem_string() {
std::string mem_string( bool use_colors = false ) {
// These values are in bytes
int64_t total_mem = 0;
int32_t total_mem = 0;
int64_t used_mem = 0;
int64_t unused_mem = 0;
int32_t inactive_mem = 0;