[gegl] panorama-projection: use abs instead of fabs for and integer value



commit 3e4a92438932de6fb128a3c2deabe4781a70249e
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Apr 25 00:29:09 2018 +0200

    panorama-projection: use abs instead of fabs for and integer value
    
    As reported by clang

 operations/common/panorama-projection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/panorama-projection.c b/operations/common/panorama-projection.c
index 4d8db5d..08dd3d7 100644
--- a/operations/common/panorama-projection.c
+++ b/operations/common/panorama-projection.c
@@ -446,7 +446,7 @@ process (GeglOperation       *operation,
 
   if (sampler_type != GEGL_SAMPLER_NEAREST &&
       !(o->little_planet == FALSE && o->inverse == FALSE &&
-      fabs(o->tilt < 33)))
+      abs(o->tilt < 33)))
     /* skip the computation of sampler neighborhood scale matrix in cases where
      * we are unlikely to be scaling down */
     scale = &scale_matrix;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]