mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-05 05:01:38 +00:00
Using abs() on unsigned integers leads to GCC warning -Wabsolute-value. This commit removes the calls to abs() and replaces them with ternary conditional operator. This keeps the correct error calculation previously ensured by abs() call. Signed-off-by: Michal Lenc <michallenc@seznam.cz>