Changeset 11643

Show
Ignore:
Timestamp:
07/16/08 04:14:52 (6 weeks ago)
Author:
cristy
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/magick/quantize.c

    r11547 r11643  
    29012901        colormap[j]=image->colormap[i]; 
    29022902      } 
    2903     colormap_index[image->colormap[i].opacity]=j; 
     2903    colormap_index[(long) image->colormap[i].opacity]=j; 
    29042904  } 
    29052905  image->colors=(unsigned long) (j+1); 
     
    29132913    indexes=GetIndexes(image); 
    29142914    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]]; 
    29162916    if (SyncImagePixels(image) == MagickFalse) 
    29172917      break;