diff options
author | zsugabubus <zsugabubus@users.noreply.github.com> | 2019-11-24 19:41:59 +0100 |
---|---|---|
committer | zsugabubus <zsugabubus@users.noreply.github.com> | 2019-11-24 23:41:46 +0100 |
commit | ad29f204b7a57cb43b1d0bc5502b1f9177a06ea9 (patch) | |
tree | b5cfb60b5aa5bc1304800bbd064baa74c9403366 /testcases/016-ethernet-down/i3status.conf | |
parent | abfe05c8bd54cf25e3d705e4899e9e9c8a8ea9a7 (diff) |
print_mem: Fix overflow on 32-bit systems
Values stored as `unsigned long` in "/proc/meminfo" but they were
handled as `long`.
On 32-bit systems with 4G memory it results in integer overflow.
Diffstat (limited to 'testcases/016-ethernet-down/i3status.conf')
0 files changed, 0 insertions, 0 deletions