commit | ba63381a52f8d658208fa9fff1be504d67907bd1 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Tue Apr 12 12:51:59 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Tue Apr 12 12:51:59 2011 +0000 |
tree | 076eddcaa407267def61324b5bec5d5a788670e7 | |
parent | e698a255629ba03cd125572de7b35b5e21c4ee5d [diff] [blame] |
diff --git a/coders/tiff.c b/coders/tiff.c index 18a408c..fa5a680 100644 --- a/coders/tiff.c +++ b/coders/tiff.c
@@ -1401,7 +1401,7 @@ image->rows-y); } i--; - p=pixels+image->columns*i; + p=((unint32 *) pixels)+image->columns*i; for (x=0; x < (ssize_t) image->columns; x++) { q->red=ScaleCharToQuantum((unsigned char) (TIFFGetR(*p)));