forked from Imagelibrary/rtems
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>