]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 2 Dec 2011 12:05:20 +0000 (12:05 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 2 Dec 2011 12:05:20 +0000 (12:05 +0000)
MagickCore/transform.c

index 7e2021cf8ccfdbf861b8b19e98cb36a791c63258..8ba186b549a536eecae115eadd04654815feb9e0 100644 (file)
@@ -747,8 +747,8 @@ MagickExport Image *CropImageToTiles(const Image *image,
           width+=(geometry.x < 0 ? -1 : 1)*geometry.x;
           height+=(geometry.y < 0 ? -1 : 1)*geometry.y;
         }
-      delta.x=((double)width)/((double)geometry.width);
-      delta.y=((double)height)/((double)geometry.height);
+      delta.x=(double) width/geometry.width;
+      delta.y=(double) height/geometry.height;
       for (offset.y=0; offset.y < (double) height; )
       {
         if ((flags & AspectValue) == 0)