[gegl] (harmless) wrong cast



commit 22fd2cbaa21ce3825a4cfb71b32bbe13c4478d3e
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Tue Dec 4 21:03:35 2012 -0500

    (harmless) wrong cast

 operations/transform/transform-core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/transform/transform-core.c b/operations/transform/transform-core.c
index 467ce2e..580b000 100644
--- a/operations/transform/transform-core.c
+++ b/operations/transform/transform-core.c
@@ -551,8 +551,8 @@ gegl_transform_detect (GeglOperation *operation,
    * the index of the nearest pixel is given by floor.
    */
   return gegl_operation_detect (source_node->operation,
-                                (gint) floor ((gdouble) need_points [0]),
-				(gint) floor ((gdouble) need_points [1]));
+                                (gint) floor ((double) need_points [0]),
+				(gint) floor ((double) need_points [1]));
 }
 
 static GeglRectangle



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