1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +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 a0052f6b19
commit 6f62e113f1

View File

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