about summary refs log tree commit diff
path: root/lib/libpamcolor.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpamcolor.c')
-rw-r--r--lib/libpamcolor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpamcolor.c b/lib/libpamcolor.c
index e1a24c66..39ff793b 100644
--- a/lib/libpamcolor.c
+++ b/lib/libpamcolor.c
@@ -338,7 +338,7 @@ warnIfNotExact(const char * const colorname,
 
     float const epsilon = 1.0/65536.0;
 
-    if (fabs((float)(rounded[plane] / maxval) - exact[plane]) > epsilon) {
+    if (fabs(((float)rounded[plane] / maxval) - exact[plane]) > epsilon) {
         pm_message("WARNING: Component %u of color '%s' is %f, "
                    "which cannot be represented precisely with maxval %lu.  "
                    "Approximating as %lu.",