summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--randr/rrtransform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrtransform.c b/randr/rrtransform.c
index 6137f8587..26b0649c9 100644
--- a/randr/rrtransform.c
+++ b/randr/rrtransform.c
@@ -121,7 +121,7 @@ RRTransformRescale(struct pixman_f_transform *f_transform, double limit)
for (j = 0; j < 3; j++)
for (i = 0; i < 3; i++)
- if ((v = abs(f_transform->m[j][i])) > max)
+ if ((v = fabs(f_transform->m[j][i])) > max)
max = v;
scale = limit / max;
for (j = 0; j < 3; j++)