]> granicus.if.org Git - imagemagick/blobdiff - magick/colormap-private.h
(no commit message)
[imagemagick] / magick / colormap-private.h
index 52c2d3ba850a50c1f166545a3234771a64ae0e54..1102eda186ae6fafebaacd4bc7c51fac88e978b6 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
+  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
   dedicated to making software imaging solutions freely available.
 
   You may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ extern "C" {
 #include <magick/exception-private.h>
 
 static inline IndexPacket ConstrainColormapIndex(Image *image,
-  const unsigned long index)
+  const size_t index)
 {
   if (index < image->colors)
     return((IndexPacket) index);