]> granicus.if.org Git - procps-ng/commit
top: make eu_TREE_LVL a signed int not an unsigned int
authorJim Warner <james.warner@comcast.net>
Fri, 23 Jul 2021 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Tue, 27 Jul 2021 11:17:18 +0000 (21:17 +1000)
commit8c2622aea814d13d3667a255fca48fe3c1db9503
tree1d6254f9600417c213b404ea871e00464187513f
parentfca8bcbd40a6d336cc7b662de2c2e50cbf339f9a
top: make eu_TREE_LVL a signed int not an unsigned int

Since the internally kept nesting 'level' under forest
view is limited to a maximum of 101, we will now treat
it as signed to avoid any potential conversion issues.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c