./src/XUiDesigner.c:508:21: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
int v = fabs(xmotion->x_root-designer->pos_x) > fabs(xmotion->y_root-designer->pos_y) ?
^
./src/XUiDesigner.c:508:21: note: use function 'abs' instead
int v = fabs(xmotion->x_root-designer->pos_x) > fabs(xmotion->y_root-designer->pos_y) ?
^~~~
abs
./src/XUiDesigner.c:508:61: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
int v = fabs(xmotion->x_root-designer->pos_x) > fabs(xmotion->y_root-designer->pos_y) ?
^
./src/XUiDesigner.c:508:61: note: use function 'abs' instead
int v = fabs(xmotion->x_root-designer->pos_x) > fabs(xmotion->y_root-designer->pos_y) ?
^~~~
abs
2 warnings generated.
This is a valid complaint from clang: