]> granicus.if.org Git - procps-ng/commit
library: lessen chance of distortion on TICS_ALL_DELTA
authorJim Warner <james.warner@comcast.net>
Wed, 21 Apr 2021 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sat, 24 Apr 2021 01:11:03 +0000 (11:11 +1000)
commit9b601307ff7f7ce3b8440c3641d55a8c5accc275
tree997fefd3fd24f55bb1255fe4671f67c35589f2bf
parent17c30484bca3f58cfb442326f1cbc7f84c1e59fa
library: lessen chance of distortion on TICS_ALL_DELTA

That old library defined this field as 'unsigned int'.
However, here it was known as a 'signed int'. Thus for
consistency we'll now also treat it as 'unsigned int'.

[ this commit was made in pursuit of a bug involving ]
[ the distortion of elapsed task tics. but, it turns ]
[ out these changes had nothing to do with that bug. ]
[ however, the patch is being retained as desirable. ]

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