Switch to unified view

a/src/smallut.cpp b/src/smallut.cpp
...
...
770
        roundable = double(size) / 1E6;
770
        roundable = double(size) / 1E6;
771
    } else {
771
    } else {
772
        unit = " GB ";
772
        unit = " GB ";
773
        roundable = double(size) / 1E9;
773
        roundable = double(size) / 1E9;
774
    }
774
    }
775
    size = off_t(round(roundable));
775
    size = int64_t(round(roundable));
776
    return lltodecstr(size).append(unit);
776
    return lltodecstr(size).append(unit);
777
}
777
}
778
778
779
string breakIntoLines(const string& in, unsigned int ll,
779
string breakIntoLines(const string& in, unsigned int ll,
780
                      unsigned int maxlines)
780
                      unsigned int maxlines)
...
...
1168
    // changing the cxxflags globally, so forget it. Recent gnu lib versions
1168
    // changing the cxxflags globally, so forget it. Recent gnu lib versions
1169
    // normally default to the posix version.
1169
    // normally default to the posix version.
1170
    // At worse we get no message at all here.
1170
    // At worse we get no message at all here.
1171
    errbuf[0] = 0;
1171
    errbuf[0] = 0;
1172
    // We don't use ret, it's there to silence a cc warning
1172
    // We don't use ret, it's there to silence a cc warning
1173
    char *ret = (char *)strerror_r(_errno, errbuf, ERRBUFSZ);
1173
    auto ret = strerror_r(_errno, errbuf, ERRBUFSZ);
1174
    (void)ret;
1174
    (void)ret;
1175
    reason->append(errbuf);
1175
    reason->append(errbuf);
1176
#endif
1176
#endif
1177
}
1177
}
1178
1178