Noticed by clang warning.
ok ?
Index: xtsscale.c
===================================================================
RCS file: /cvs/OpenBSD/xenocara/app/xtsscale/xtsscale.c,v
retrieving revision 1.23
diff -u -r1.23 xtsscale.c
--- xtsscale.c 6 Mar 2012 23:24:37 -0000 1.23
+++ xtsscale.c 10 Feb 2019 15:53:44 -0000
@@ -732,7 +732,7 @@
cleanup_exit(device);
/* Check if X and Y should be swapped */
- if (fabs(x[0] - x[1]) > fabs(y[0] - y[1])) {
+ if (abs(x[0] - x[1]) > abs(y[0] - y[1])) {
calib.swapxy = 1;
--
Matthieu Herrb