diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpamcolor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpamcolor.c b/lib/libpamcolor.c index 718df89f..cc68fe1a 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.", |