Use abs() instead of fabs().

The argument is an int.