mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 01:34:11 +00:00
Do not truncate non-human-readable numbers to 32bit (sf.net #3564560)
patch by hdastwb
This commit is contained in:
parent
1c1feb7db2
commit
9d399607dd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user