http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=28043
diff --git a/MagickCore/effect.c b/MagickCore/effect.c
index 4b0cac0..5b374d9 100644
--- a/MagickCore/effect.c
+++ b/MagickCore/effect.c
@@ -3515,7 +3515,8 @@
 
       point.x=GetPseudoRandomValue(random_info[id]);
       point.y=GetPseudoRandomValue(random_info[id]);
-      status=InterpolatePixelChannels(image,image_view,spread_image,method,
+      status=InterpolatePixelChannels(image,image_view,spread_image,
+        method == UndefinedInterpolatePixel ? NearestInterpolatePixel : method,
         (double) x+width*(point.x-0.5),(double) y+width*(point.y-0.5),q,
         exception);
       q+=GetPixelChannels(spread_image);
diff --git a/MagickCore/pixel-accessor.h b/MagickCore/pixel-accessor.h
index f48256d..c77d76f 100644
--- a/MagickCore/pixel-accessor.h
+++ b/MagickCore/pixel-accessor.h
@@ -288,10 +288,11 @@
         0.072186f*pixel[image->channel_map[BluePixelChannel].offset];
       return(intensity);
     }
-  intensity=0.212656f*DecodePixelGamma(
+  intensity=0.212656f*DecodePixelGamma((MagickRealType)
     pixel[image->channel_map[RedPixelChannel].offset])+0.715158f*
-    DecodePixelGamma(pixel[image->channel_map[GreenPixelChannel].offset])+
-    0.072186f*DecodePixelGamma(
+    DecodePixelGamma((MagickRealType)
+    pixel[image->channel_map[GreenPixelChannel].offset])+0.072186f*
+    DecodePixelGamma((MagickRealType)
     pixel[image->channel_map[BluePixelChannel].offset]);
   return(intensity);
 }
diff --git a/configure b/configure
index 42aaf89..710f6dd 100755
--- a/configure
+++ b/configure
@@ -4379,7 +4379,7 @@
 
 MAGICK_VERSION=7.0.0-0
 
-MAGICK_SVN_REVISION=19325:19327
+MAGICK_SVN_REVISION=Unversioned
 
 
 # Substitute library versioning