1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 09:44:04 +00:00

Do not truncate non-human-readable numbers to 32bit (sf.net #3564560)

patch by hdastwb
This commit is contained in:
Pavel Labath 2012-09-04 12:57:11 +02:00
parent 1c1feb7db2
commit 9d399607dd

View File

@ -604,7 +604,7 @@ void human_readable(long long num, char *buf, int size)
/* Possibly just output as usual, for example for stdout usage */
if (!format_human_readable) {
spaced_print(buf, size, "%d", 6, round_to_int(num));
spaced_print(buf, size, "%lld", 6, num);
return;
}
if (short_units) {