From 1cce74631cccd3428160da69fa8293ea6aed8367 Mon Sep 17 00:00:00 2001 From: Martinez Date: Thu, 26 Feb 2015 15:47:13 +0100 Subject: [PATCH] fixed free space reporting on 32bit systems --- data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.cpp b/data.cpp index c7d493d..5b585b4 100755 --- a/data.cpp +++ b/data.cpp @@ -281,7 +281,7 @@ void get_available_space(std::vector &space) { std::vector mounts; struct statfs stats; std::string fullname, name, mountpoint; - long free_space, total_space; + fsblkcnt_t free_space, total_space; int ptr, len; size_t str_pos; bool OK;