]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 8 Sep 2014 11:49:25 +0000 (11:49 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 8 Sep 2014 11:49:25 +0000 (11:49 +0000)
MagickCore/identify.c

index a5ea189ce5243aeb89bf61ce16f84fb8aca0c331..1c0bc830e525c7d622b17fbc20c8f24c5a0775a2 100644 (file)
@@ -352,7 +352,8 @@ static ssize_t PrintChannelMoments(FILE *file,const PixelChannel channel,
   const char *name,const double scale,const ChannelMoments *channel_moments)
 {
   double
-    powers[8] = { 1.0, 2.0, 3.0, 3.0, 6.0, 4.0, 6.0, 4.0 };
+    powers[MaximumNumberOfImageMoments] =
+      { 1.0, 2.0, 3.0, 3.0, 6.0, 4.0, 6.0, 4.0 };
 
   register ssize_t
     i;