]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 6 Jan 2012 04:07:42 +0000 (04:07 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 6 Jan 2012 04:07:42 +0000 (04:07 +0000)
MagickCore/pixel.c

index b7bb800471c9b5e5b90b57f07a884068c3bf2adc..e14f7c9bbce046854352082988ff276aeb936dc8 100644 (file)
@@ -1175,13 +1175,13 @@ static void ExportLongPixel(const Image *image,const ssize_t x_offset,
   register ssize_t
     x;
 
-  register unsigned int
+  register unsigned long
     *q;
 
   ssize_t
     y;
 
-  q=(unsigned int *) pixels;
+  q=(unsigned long *) pixels;
   if (LocaleCompare(map,"BGR") == 0)
     {
       for (y=0; y < (ssize_t) rows; y++)
@@ -3063,7 +3063,7 @@ static void ImportLongPixel(Image *image,const ssize_t x_offset,
   const char *restrict map,const QuantumType *quantum_map,
   const unsigned char *restrict pixels,ExceptionInfo *exception)
 {
-  register const unsigned int
+  register const unsigned long
     *restrict p;
 
   register Quantum
@@ -3075,7 +3075,7 @@ static void ImportLongPixel(Image *image,const ssize_t x_offset,
   ssize_t
     y;
 
-  p=(const unsigned int *) pixels;
+  p=(const unsigned long *) pixels;
   if (LocaleCompare(map,"BGR") == 0)
     {
       for (y=0; y < (ssize_t) rows; y++)