Use signed values to compare absolute difference. The variables
authorbluhm <bluhm@openbsd.org>
Sun, 14 Jan 2018 00:33:09 +0000 (00:33 +0000)
committerbluhm <bluhm@openbsd.org>
Sun, 14 Jan 2018 00:33:09 +0000 (00:33 +0000)
commit4935e6c527143c892a4971adb2105013abe189b2
tree584fb76e95a738c821aff01e7ea39b4705045bd1
parentc58791a66d8db29b7e9f3083c312f98f8218dd81
Use signed values to compare absolute difference.  The variables
fid and cfid are signed, so the FID_TO_VCO_FID() macro creates
signed results.  Keep the sign when passing to abs() although the
implicit conversions created the same binary.
OK deraadt@
sys/arch/amd64/amd64/powernow-k8.c