Changeset 11643
- Timestamp:
- 07/16/08 04:14:52 (6 weeks ago)
- Files:
-
- 1 modified
-
ImageMagick/trunk/magick/quantize.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/magick/quantize.c
r11547 r11643 2901 2901 colormap[j]=image->colormap[i]; 2902 2902 } 2903 colormap_index[ image->colormap[i].opacity]=j;2903 colormap_index[(long) image->colormap[i].opacity]=j; 2904 2904 } 2905 2905 image->colors=(unsigned long) (j+1); … … 2913 2913 indexes=GetIndexes(image); 2914 2914 for (x=0; x < (long) image->columns; x++) 2915 indexes[x]=(IndexPacket) colormap_index[ indexes[x]];2915 indexes[x]=(IndexPacket) colormap_index[(long) indexes[x]]; 2916 2916 if (SyncImagePixels(image) == MagickFalse) 2917 2917 break;
