fixed free space reporting on 32bit systems

This commit is contained in:
Martinez 2015-02-26 15:47:13 +01:00
parent 933235a840
commit 1cce74631c

View file

@ -281,7 +281,7 @@ void get_available_space(std::vector<Space> &space) {
std::vector<std::string> mounts; std::vector<std::string> mounts;
struct statfs stats; struct statfs stats;
std::string fullname, name, mountpoint; std::string fullname, name, mountpoint;
long free_space, total_space; fsblkcnt_t free_space, total_space;
int ptr, len; int ptr, len;
size_t str_pos; size_t str_pos;
bool OK; bool OK;