]> git.ipfire.org Git - thirdparty/systemd.git/commit
macro: DECIMAL_STR_WIDTH() is about *values* not *types*
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Mar 2022 11:01:47 +0000 (12:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Mar 2022 17:10:49 +0000 (18:10 +0100)
commit92463840f804be31332fba65b60c1533500f0974
tree44908894eed431f558bdb112cf05b190d27b57ed
parent14a8002ae5f4e4e8987228dc2739ffabc2e036ec
macro: DECIMAL_STR_WIDTH() is about *values* not *types*

Hence, check if the value is negative, not whether the type can carry
negatives.

Follow-up for: e3dd9ea8ea4510221f73071ad30ee657ca77565d
src/basic/macro.h