]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 29 Apr 2013 08:29:35 +0000 (08:29 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 29 Apr 2013 08:29:35 +0000 (08:29 +0000)
MagickCore/distort.c
MagickCore/quantize.c
MagickCore/transform.c

index 0ab1c0cef9a1e98ca0f92de36313de406d715a51..4a38f5b8ee9618c58634d76101f06787d06d03f2 100644 (file)
@@ -373,7 +373,7 @@ static inline double MagickRound(double x)
   /*
     Round the fraction to nearest integer.
   */
-  if ((x-floor(x)) < (ceil(x)-x)
+  if ((x-floor(x)) < (ceil(x)-x))
     return(floor(x));
   return(ceil(x));
 }
index dd8b8b1acdbaeff32eec71404be6403f3d4de8db..ba864706a0c9cfc522698487a5edc3d82d742c8f 100644 (file)
@@ -2342,7 +2342,7 @@ static inline double MagickRound(double x)
   /*
     Round the fraction to nearest integer.
   */
-  if ((x-floor(x)) < (ceil(x)-x)
+  if ((x-floor(x)) < (ceil(x)-x))
     return(floor(x));
   return(ceil(x));
 }
index 94de5c44c3ff3356ad9108c64b32fefe3d7356ac..092f7943a82e94d08b0209c5387bc40137699bbd 100644 (file)
@@ -771,7 +771,7 @@ static inline double MagickRound(double x)
   /*
     Round the fraction to nearest integer.
   */
-  if ((x-floor(x)) < (ceil(x)-x)
+  if ((x-floor(x)) < (ceil(x)-x))
     return(floor(x));
   return(ceil(x));
 }